Packageorg.pranaframework.ioc.factory.xml.parser.support.nodeparsers
Classpublic class DictionaryNodeParser
InheritanceDictionaryNodeParser Inheritance AbstractNodeParser

Parses a dictionary node.



Protected Properties
 PropertyDefined by
 InheritednodeNames : Array
An array containing the compatible node names.
AbstractNodeParser
 InheritedxmlObjectDefinitionsParser : XMLObjectDefinitionsParser
The xmlObjectDefinitionsParser using this NodeParser
AbstractNodeParser
Public Methods
 MethodDefined by
  
Constructs the DictionaryNodeParser.
DictionaryNodeParser
 Inherited
addNodeNameAlias(alias:String):void
Will add an alias that this node parser will react upon.
AbstractNodeParser
 Inherited
canParse(node:XML):Boolean
Determines if the given node can be parsed.
AbstractNodeParser
 Inherited
getNodeNames():Array
Return an array containing the node names this parser can parse
AbstractNodeParser
  
parse(node:XML):Object
This is an abstract method and should be overridden in a subclass.
DictionaryNodeParser
Constructor detail
DictionaryNodeParser()constructor
public function DictionaryNodeParser(xmlObjectDefinitionsParser:XMLObjectDefinitionsParser)

Constructs the DictionaryNodeParser.

Parameters
xmlObjectDefinitionsParser:XMLObjectDefinitionsParser — The definitions parser using this NodeParser

See also

org.pranaframework.ioc.factory.xml.parser.support.XMLObjectDefinitionsParser..DICTIONARY_ELEMENT
org.pranaframework.ioc.factory.xml.parser.support.XMLObjectDefinitionsParser..MAP_ELEMENT
Method detail
parse()method
public override function parse(node:XML):Object

This is an abstract method and should be overridden in a subclass. Will parse the given node. The type of the result depends on the implementation of the node parser.

Parameters
node:XML — The node that will be parsed

Returns
Object — the parsed node