| Package | org.springextensions.actionscript.ioc.factory.xml.preprocessors |
| SVN browsing | ScopeAttributePreprocessor.as |
| Fisheye | ScopeAttributePreprocessor.as |
| Class | public class ScopeAttributePreprocessor |
| Implements | IXMLObjectDefinitionsPreprocessor |
The ScopeAttributePreprocessor 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.
See also
| Method | Defined by | ||
|---|---|---|---|
|
Creates a new
ScopeAttributePreprocessor. | ScopeAttributePreprocessor | ||
|
preprocess(xml:XML):XML
Preprocesses the passed in xml data and returns it.
| ScopeAttributePreprocessor | ||
| ScopeAttributePreprocessor | () | constructor |
public function ScopeAttributePreprocessor()
Creates a new ScopeAttributePreprocessor.
| preprocess | () | method |
public function preprocess(xml:XML):XMLPreprocesses the passed in xml data and returns it.
Parametersxml:XML — the xml data to be preprocessed
|
XML — the preprocessed xml data
|