Packageorg.puremvc.as3.multicore.utilities.flex.config.model
Classpublic class ConfigVO
ImplementsIConfigVO

Configuration Value Object.

Abstract implementation. Subclass to add your own fields and validation.



Protected Properties
 PropertyDefined 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
Public Methods
 MethodDefined 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 isValidin your subclass, and if (super.isValid() == true), then conduct your own validation and return an appropriate value.

ConfigVO
  
setConfig(config:XML):void
Set the XML Configuration.
ConfigVO
Property detail
configproperty
protected var config:XML

The XML Configuration.

nsConfigproperty 
protected var nsConfig:Namespace

The configuration Namespace.

nsDeployproperty 
protected var nsDeploy:Namespace

The deployment Namespace.

nsDeployNameproperty 
protected var nsDeployName:String

The name of the deployment Namespace.

Method detail
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 isValidin your subclass, and if (super.isValid() == true), then conduct your own validation and return an appropriate value.

Returns
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.

Parameters
config:XML