Packageorg.springextensions.actionscript.ioc.config.impl.xml.preprocess.impl
Classpublic class PropertyElementsPreprocessor
InheritancePropertyElementsPreprocessor Inheritance Object
Implements IXMLObjectDefinitionsPreprocessor

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 Properties
 PropertyDefined By
  properties : IPropertiesProvider
[read-only]
PropertyElementsPreprocessor
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
Protected Methods
 MethodDefined By
  
PropertyElementsPreprocessor
Property Detail
propertiesproperty
properties:IPropertiesProvider  [read-only]


Implementation
    public function get properties():IPropertiesProvider
Constructor Detail
PropertyElementsPreprocessor()Constructor
public function PropertyElementsPreprocessor(properties:IPropertiesProvider)

Creates a new ConfigPropertyElementsPreprocessor instance.

Parameters
properties:IPropertiesProvider
Method Detail
initPropertyElementsPreprocessor()method
protected function initPropertyElementsPreprocessor(properties:IPropertiesProvider):void

Parameters

properties:IPropertiesProvider

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.