| Package | org.springextensions.actionscript.ioc.factory.xml |
| SVN browsing | INamespaceHandler.as |
| Fisheye | INamespaceHandler.as |
| Interface | public interface INamespaceHandler |
| Implementors | NamespaceHandlerSupport |
A namespace handler can be added to the main XMLObjectDefinitionsParser to handle user defined xml namespaces.
Documentation reference: coding an inamespacehandler implementation
| Method | Defined by | ||
|---|---|---|---|
|
getNamespace():Namespace
Return the namespace supported by this namespace handler.
| INamespaceHandler | ||
|
Parses the given node and returns the resulting object definition.
| INamespaceHandler | ||
| getNamespace | () | method |
public function getNamespace():NamespaceReturn the namespace supported by this namespace handler.
ReturnsNamespace |
| parse | () | method |
public function parse(node:XML, context:XMLObjectDefinitionsParser):IObjectDefinitionParses the given node and returns the resulting object definition.
Parametersnode:XML — the xml node to parse
|
|
context:XMLObjectDefinitionsParser — the root xml parser (XXX this might change to a parser context object)
|
IObjectDefinition |