Packageorg.pranaframework.ioc.factory.xml.preprocessors
Classpublic class IdAttributePreprocessor
ImplementsIXMLObjectDefinitionsPreprocessor

Adds an "id" attribute to objects that have none defined.



Public Methods
 MethodDefined by
  
IdAttributePreprocessor
  
preprocess(xml:XML):XML
Preprocesses the passed in xml data and returns it.
IdAttributePreprocessor
Constructor detail
IdAttributePreprocessor()constructor
public function IdAttributePreprocessor()

Method detail
preprocess()method
public function preprocess(xml:XML):XML

Preprocesses the passed in xml data and returns it.

Parameters
xml:XML — the xml data to be preprocessed

Returns
XML — the preprocessed xml data