Packageorg.pranaframework.ioc.factory.xml.parser.support
Classpublic class FlexXMLObjectDefinitionsParser
InheritanceFlexXMLObjectDefinitionsParser Inheritance XMLObjectDefinitionsParser

An extension to the XMLObjectDefinitionsParser to support flex framework specific classes like ArrayCollection.



Public Properties
 PropertyDefined by
 InheritednodeParsers : Array
Returns all registered implementations of INodeParser.
XMLObjectDefinitionsParser
 InheritedobjectFactory : IXMLObjectFactory
The objectFactory currently in use
XMLObjectDefinitionsParser
Public Methods
 MethodDefined by
  
Constructs a new FlexXMLObjectDefinitionsParser.
FlexXMLObjectDefinitionsParser
 Inherited
Adds a NodeParser to the parser.
XMLObjectDefinitionsParser
 Inherited
Adds a preprocessor to the parser.
XMLObjectDefinitionsParser
 Inherited
parse(xml:XML, properties:Array = null):IXMLObjectFactory
Parses all object definitions and returns the objectFactory that contains the parsed results.
XMLObjectDefinitionsParser
 Inherited
Parses and registers an object definition.
XMLObjectDefinitionsParser
 Inherited
Parses the given object definition node into an implementation of IObjectDefinition.
XMLObjectDefinitionsParser
 Inherited
parseProperty(node:XML):Object
Will parse the given property node.
XMLObjectDefinitionsParser
 Inherited
parsePropertyValue(node:XML):Object
Will parse the given property value using the node parsers.
XMLObjectDefinitionsParser
Public Constants
 ConstantDefined by
 InheritedARRAY_COLLECTION_ELEMENT : String = "array-collection"
[static] Constant value 'array-collection'
XMLObjectDefinitionsParser
 InheritedARRAY_ELEMENT : String = "array"
[static] Constant value 'array'
XMLObjectDefinitionsParser
 InheritedCLASS_ATTRIBUTE : String = "class"
[static] Constant value 'class'
XMLObjectDefinitionsParser
 InheritedCONSTRUCTOR_ARG_ELEMENT : String = "constructor-arg"
[static] Constant value 'constructor-arg'
XMLObjectDefinitionsParser
 InheritedDICTIONARY_ELEMENT : String = "dictionary"
[static] Constant value 'dictionary'
XMLObjectDefinitionsParser
 InheritedENTRY_ELEMENENT : String = "entry"
[static] Constant value 'entry'
XMLObjectDefinitionsParser
 InheritedFACTORY_METHOD_ATTRIBUTE : String = "factory-method"
[static] Constant value 'factory-method'
XMLObjectDefinitionsParser
 InheritedID_ATTRIBUTE : String = "id"
[static] Constant value 'id'
XMLObjectDefinitionsParser
 InheritedINIT_METHOD_ATTRIBUTE : String = "init-method"
[static] Constant value 'init-method'
XMLObjectDefinitionsParser
 InheritedKEY_ATTRIBUTE : String = "key"
[static] Constant value 'key'
XMLObjectDefinitionsParser
 InheritedKEY_ELEMENT : String = "key"
[static] Constant value 'key'
XMLObjectDefinitionsParser
 InheritedLAZY_INIT_ATTRIBUTE : String = "lazy-init"
[static] Constant value 'lazy-init'
XMLObjectDefinitionsParser
 InheritedLIST_ELEMENT : String = "list"
[static] Constant value 'list'
XMLObjectDefinitionsParser
 InheritedMAP_ELEMENT : String = "map"
[static] Constant value 'map'
XMLObjectDefinitionsParser
 InheritedOBJECT_ELEMENT : String = "object"
[static] Constant value 'object'
XMLObjectDefinitionsParser
 InheritedPROPERTY_ELEMENT : String = "property"
[static] Constant value 'property'
XMLObjectDefinitionsParser
 InheritedREF_ATTRIBUTE : String = "ref"
[static] Constant value 'ref'
XMLObjectDefinitionsParser
 InheritedREF_ELEMENT : String = "ref"
[static] Constant value 'ref'
XMLObjectDefinitionsParser
 InheritedSCOPE_ATTRIBUTE : String = "scope"
[static] Constant value 'scope'
XMLObjectDefinitionsParser
 InheritedTEMPLATE_ELEMENT : String = "template"
[static] Constant value 'template'
XMLObjectDefinitionsParser
 InheritedVALUE_ATTRIBUTE : String = "value"
[static] Constant value 'value'
XMLObjectDefinitionsParser
 InheritedVALUE_ELEMENT : String = "value"
[static] Constant value 'value'
XMLObjectDefinitionsParser
Constructor detail
FlexXMLObjectDefinitionsParser()constructor
public function FlexXMLObjectDefinitionsParser(objectFactory:IXMLObjectFactory = null)

Constructs a new FlexXMLObjectDefinitionsParser. An optional objectFactory can be passed to store the definitions. If no container is passed then a new instance will be created of type XMLObjectFactory.

Will add the following node parsers:

Parameters
objectFactory:IXMLObjectFactory (default = null) — the objectFactory where the object definitions will be stored

See also