Packageorg.springextensions.actionscript.ioc.factory.xml.preprocessors
SVN browsingPropertyElementsPreprocessor.as
FisheyePropertyElementsPreprocessor.as
Classpublic class PropertyElementsPreprocessor
ImplementsIXMLObjectDefinitionsPreprocessor

IXMLObjectDefinitionsPreprocessor implementation that retrieves all the <configproperty/> elements from the specified XML object, converts them into a Properties instance and adds them to the loadedProperties collection of the specified IXMLObjectFactory instance.



Public Methods
 MethodDefined by
  
Creates a new ConfigPropertyElementsPreprocessor instance.
PropertyElementsPreprocessor
  
preprocess(xml:XML):XML
Retrieves all <configproperty/> elements from the specified XML object, converts them into a Properties instance and adds them to the loadedProperties collection of the specified IXMLObjectFactory instance.
PropertyElementsPreprocessor
Constructor detail
PropertyElementsPreprocessor()constructor
public function PropertyElementsPreprocessor(objectFactory:IObjectFactory)

Creates a new ConfigPropertyElementsPreprocessor instance.

Parameters
objectFactory:IObjectFactory
Method detail
preprocess()method
public function preprocess(xml:XML):XML

Retrieves all <configproperty/> elements from the specified XML object, converts them into a Properties instance and adds them to the loadedProperties collection of the specified IXMLObjectFactory instance.

Parameters
xml:XML — The specified XML object.

Returns
XML — The processed XML object, all <configproperty/> elements will have been removed.