Package | org.spicefactory.parsley.xml.processor |
Class | public class XmlConfigurationProcessor |
Inheritance | XmlConfigurationProcessor flash.events.EventDispatcher |
Implements | AsyncConfigurationProcessor |
Property | Defined By | ||
---|---|---|---|
loader : XmlConfigurationLoader [read-only]
The loader that loads the XML configuration files. | XmlConfigurationProcessor |
Method | Defined By | ||
---|---|---|---|
XmlConfigurationProcessor(files:Array, expressionContext:ExpressionContext = null, loader:XmlConfigurationLoader = null)
Creates a new instance. | XmlConfigurationProcessor | ||
addXml(xml:XML):void
Adds an XML reference containing Parsley XML configuration to be processed alongside the loaded files. | XmlConfigurationProcessor | ||
cancel():void
Invoked when the configuration process gets cancelled, usually due to an associated Context
having been destroyed. | XmlConfigurationProcessor | ||
processConfiguration(registry:ObjectDefinitionRegistry):void
Processes all configuration artifacts and adds object definitions to the specified registry. | XmlConfigurationProcessor |
loader | property |
loader:XmlConfigurationLoader
[read-only] The loader that loads the XML configuration files.
public function get loader():XmlConfigurationLoader
XmlConfigurationProcessor | () | Constructor |
public function XmlConfigurationProcessor(files:Array, expressionContext:ExpressionContext = null, loader:XmlConfigurationLoader = null)
Creates a new instance.
Parametersfiles:Array — the names of the XML configuration files
| |
expressionContext:ExpressionContext (default = null )
| |
loader:XmlConfigurationLoader (default = null )
|
addXml | () | method |
public function addXml(xml:XML):void
Adds an XML reference containing Parsley XML configuration to be processed alongside the loaded files.
Parameters
xml:XML — an XML reference containing Parsley XML configuration
|
cancel | () | method |
public function cancel():void
Invoked when the configuration process gets cancelled, usually due to an associated Context having been destroyed.
processConfiguration | () | method |
public function processConfiguration(registry:ObjectDefinitionRegistry):void
Processes all configuration artifacts and adds object definitions to the specified registry.
Parameters
registry:ObjectDefinitionRegistry — the registry to process
|