Packageorg.springextensions.actionscript.ioc.config.impl.xml.parser
Interfacepublic interface INodeParser
Implementors AbstractNodeParser

Defines a single node parser.



Public Methods
 MethodDefined By
  
addNodeNameAlias(alias:String):void
Will add an alias that this node parser will react upon.
INodeParser
  
canParse(node:XML):Boolean
Determines if the given node can be parsed.
INodeParser
  
getNodeNames():Vector.<String>
Return an array containing the node names this parser can parse
INodeParser
  
parse(node:XML):*
Will parse the given node.
INodeParser
Method Detail
addNodeNameAlias()method
public function addNodeNameAlias(alias:String):void

Will add an alias that this node parser will react upon. It has direct influence on the result of the canParse method.

Parameters

alias:String — Alternative nodename that can be parsed by this parser

See also

canParse()method 
public function canParse(node:XML):Boolean

Determines if the given node can be parsed.

Parameters

node:XML — The node to be checked.

Returns
Boolean — true if this implementation can parse the given node.
getNodeNames()method 
public function getNodeNames():Vector.<String>

Return an array containing the node names this parser can parse

Returns
Vector.<String>
parse()method 
public function parse(node:XML):*

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
* — the parsed node