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 function PropertyElementsPreprocessor(objectFactory:IObjectFactory)
Creates a new ConfigPropertyElementsPreprocessor instance.
Parameters
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.
|
Copyright 2007-2010 Spring Actionscript.