Packageorg.springextensions.actionscript.ioc.factory.xml
SVN browsingINamespaceHandler.as
FisheyeINamespaceHandler.as
Interfacepublic interface INamespaceHandler
ImplementorsNamespaceHandlerSupport

Interface to be implemented when creating a custom namespace handler.

A namespace handler can be added to the main XMLObjectDefinitionsParser to handle user defined xml namespaces.



Documentation reference: coding an inamespacehandler implementation


Public Methods
 MethodDefined by
  
getNamespace():Namespace
Return the namespace supported by this namespace handler.
INamespaceHandler
  
Parses the given node and returns the resulting object definition.
INamespaceHandler
Method detail
getNamespace()method
public function getNamespace():Namespace

Return the namespace supported by this namespace handler.

Returns
Namespace
parse()method 
public function parse(node:XML, context:XMLObjectDefinitionsParser):IObjectDefinition

Parses the given node and returns the resulting object definition.

Parameters
node:XML — the xml node to parse
 
context:XMLObjectDefinitionsParser — the root xml parser (XXX this might change to a parser context object)

Returns
IObjectDefinition