Packageorg.spicefactory.parsley.util
Classpublic class ConfigurationValueResolver
InheritanceConfigurationValueResolver Inheritance Object

Responsible for resolving some special tags that can be used in MXML or XML configuration for specifying object references or arrays possibly containing references.



Public Methods
 MethodDefined By
  
resolveValue(value:*, registry:ObjectDefinitionRegistry):Object
Resolves special tags for object references or inline object definitions and returns representations that can be used in object definitions.
ConfigurationValueResolver
  
resolveValues(values:Array, registry:ObjectDefinitionRegistry):void
Resolves special tags for object references or inline object definitions that the specified Array possibly contains and replaces them with representations that can be used in object definitions.
ConfigurationValueResolver
Method Detail
resolveValue()method
public function resolveValue(value:*, registry:ObjectDefinitionRegistry):Object

Resolves special tags for object references or inline object definitions and returns representations that can be used in object definitions.

Parameters

value:* — the value (tag) to resolve
 
registry:ObjectDefinitionRegistry — the associated configuration

Returns
Object — the resolved configuration value
resolveValues()method 
public function resolveValues(values:Array, registry:ObjectDefinitionRegistry):void

Resolves special tags for object references or inline object definitions that the specified Array possibly contains and replaces them with representations that can be used in object definitions.

Parameters

values:Array — the Array to resolve
 
registry:ObjectDefinitionRegistry — the associated configuration