Packageorg.springextensions.actionscript.ioc.config.impl.xml.namespacehandler
Interfacepublic interface INamespaceHandler
Implementors AbstractNamespaceHandler

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.



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:IXMLObjectDefinitionsParser):IObjectDefinition

Parses the given node and returns the resulting object definition.

Parameters

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

Returns
IObjectDefinition