Packageorg.springextensions.actionscript.ioc.factory.xml.preprocessors
SVN browsingAttributeToElementPreprocessor.as
FisheyeAttributeToElementPreprocessor.as
Classpublic class AttributeToElementPreprocessor
ImplementsIXMLObjectDefinitionsPreprocessor

Converts an attribute to an element.


Example

Input: <object class="com.myclasses.MyClass"/>

Result:

  <object>
<class>com.myclasses.MyClass</class>
</object>

Author: Christophe Herreman
Version: $Revision: 21 $, $Date: 2008-11-01 22:58:42 +0100 (za, 01 nov 2008) $, $Author: dmurat $
Since: 0.1



Public Methods
 MethodDefined by
  
AttributeToElementPreprocessor
  
preprocess(xml:XML):XML
Preprocesses the passed in xml data and returns it.
AttributeToElementPreprocessor
Constructor detail
AttributeToElementPreprocessor()constructor
public function AttributeToElementPreprocessor()
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