Package | org.puremvc.as3.multicore.utilities.flex.config.model |
Class | public class ConfigVO |
Implements | IConfigVO |
Abstract implementation. Subclass to add your own fields and validation.
Property | Defined by | ||
---|---|---|---|
config : XML
The XML Configuration.
| ConfigVO | ||
nsConfig : Namespace
The configuration
Namespace . | ConfigVO | ||
nsDeploy : Namespace
The deployment
Namespace . | ConfigVO | ||
nsDeployName : String
The name of the deployment
Namespace . | ConfigVO |
Method | Defined by | ||
---|---|---|---|
isValid():Boolean
Is the configuration valid?
Checks to see that the deployment namespace has been successfully extracted from the configuration.
To do customized validation, override | ConfigVO | ||
setConfig(config:XML):void
Set the XML Configuration.
| ConfigVO |
config | property |
protected var config:XML
The XML Configuration.
nsConfig | property |
protected var nsConfig:Namespace
The configuration Namespace
.
nsDeploy | property |
protected var nsDeploy:Namespace
The deployment Namespace
.
nsDeployName | property |
protected var nsDeployName:String
The name of the deployment Namespace
.
isValid | () | method |
public function isValid():Boolean
Is the configuration valid?
Checks to see that the deployment namespace has been successfully extracted from the configuration.
To do customized validation, override isValid
in
your subclass, and if (super.isValid() == true)
,
then conduct your own validation and return an appropriate
value.
Boolean — false if configuration is malformed or has not been set.
|
setConfig | () | method |
public function setConfig(config:XML):void
Set the XML Configuration.
Extracts the deployment namespace so that subsequent calls to getters can use that namespace to retrieve values from this XML configuration.
Parametersconfig:XML |