Packageorg.springextensions.actionscript.ioc.factory.xml.preprocessors
Classpublic class ScopeAttributePrepocessor
ImplementsIXMLObjectDefinitionsPreprocessor

The ScopeAttributePrepocessor makes sure that all object definitions have a valid scope attribute. If no scope attribute is found, a default scope="singleton" will be added. If a singleton attribute is found, it will be converted to the corresponding scope attribute.

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

See also

org.springextensions.actionscript.ioc.ObjectDefinitionScope


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

Creates a new ScopeAttributePreprocessor.

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