Packageorg.springextensions.actionscript.ioc.factory.xml.preprocessors
SVN browsingParentAttributePreprocessor.as
FisheyeParentAttributePreprocessor.as
Classpublic class ParentAttributePreprocessor
ImplementsIXMLObjectDefinitionsPreprocessor

Preprocesses parent-child objects so that all parent attributes and elements are copied to the child if they are not defined by the child object.



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

Creates a new ParentAttributePreprocessor.

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