| Package | org.springextensions.actionscript.ioc.factory.xml.parser.support |
| SVN browsing | ParsingUtils.as |
| Fisheye | ParsingUtils.as |
| Class | public final class ParsingUtils |
Documentation reference: coding an iobjectdefinitionparser implementation
| Method | Defined by | ||
|---|---|---|---|
|
attributeNameToPropertyName(attribute:String):String
[static]
Creates a property name from an attribute name.
| ParsingUtils | ||
|
mapProperties(objectDefinition:IObjectDefinition, node:XML, ... attributes):void
[static]
Maps the given attributes of the xml node to properties of the object definition.
| ParsingUtils | ||
|
mapPropertiesArrays(objectDefinition:IObjectDefinition, node:XML, ... attributes):void
[static]
Maps the given attributes of the xml node to an array of properties in the properties of the object
definition.
| ParsingUtils | ||
|
mapReferenceArrays(objectDefinition:IObjectDefinition, node:XML, ... attributes):void
[static]
Maps the given attributes of the xml node to an array of object references in the properties of the object
definition.
| ParsingUtils | ||
|
mapReferences(objectDefinition:IObjectDefinition, node:XML, ... attributes):void
[static]
Maps the given attributes of the xml node to object references in the properties of the object definition.
| ParsingUtils | ||
| attributeNameToPropertyName | () | method |
public static function attributeNameToPropertyName(attribute:String):StringCreates a property name from an attribute name.
e.g. "make-objects-bindable" becomes "makeObjectsBindable"
Use an AttributeToPropertyMapping if you want to specify the name of the property
attribute:String |
String |
See also
| mapProperties | () | method |
public static function mapProperties(objectDefinition:IObjectDefinition, node:XML, ... attributes):voidMaps the given attributes of the xml node to properties of the object definition.
ParametersobjectDefinition:IObjectDefinition |
|
node:XML |
|
... attributes |
| mapPropertiesArrays | () | method |
public static function mapPropertiesArrays(objectDefinition:IObjectDefinition, node:XML, ... attributes):voidMaps the given attributes of the xml node to an array of properties in the properties of the object definition.
ParametersobjectDefinition:IObjectDefinition |
|
node:XML |
|
... attributes |
| mapReferenceArrays | () | method |
public static function mapReferenceArrays(objectDefinition:IObjectDefinition, node:XML, ... attributes):voidMaps the given attributes of the xml node to an array of object references in the properties of the object definition.
ParametersobjectDefinition:IObjectDefinition |
|
node:XML |
|
... attributes |
| mapReferences | () | method |
public static function mapReferences(objectDefinition:IObjectDefinition, node:XML, ... attributes):voidMaps the given attributes of the xml node to object references in the properties of the object definition.
ParametersobjectDefinition:IObjectDefinition |
|
node:XML |
|
... attributes |