Packageorg.spicefactory.parsley.core.builder.processor
Classpublic class DynamicPropertyProcessor
InheritanceDynamicPropertyProcessor Inheritance Object
Implements ObjectProcessor

Processor that sets the value of a single dynamic property in the target object, potentially resolving references to other objects in the Context.



Public Properties
 PropertyDefined By
  property : String
[read-only] The name of the property set by this processor.
DynamicPropertyProcessor
  unresolvedValue : *
[read-only] The unresolved value of the property.
DynamicPropertyProcessor
Public Methods
 MethodDefined By
  
DynamicPropertyProcessor(propertyName:String, unresolvedValue:*)
Creates a new processor instance.
DynamicPropertyProcessor
  
destroy(target:ManagedObject):void
Invoked when the target instance gets removed from the Context.
DynamicPropertyProcessor
  
init(target:ManagedObject):void
Invoked during initialization of the target instance.
DynamicPropertyProcessor
Property Detail
propertyproperty
property:String  [read-only]

The name of the property set by this processor.


Implementation
    public function get property():String
unresolvedValueproperty 
unresolvedValue:*  [read-only]

The unresolved value of the property. Unresolved means that for special objects like references to other objects in the Context, this will be an instance of ResolvableValue that merely represents the actual value.


Implementation
    public function get unresolvedValue():*
Constructor Detail
DynamicPropertyProcessor()Constructor
public function DynamicPropertyProcessor(propertyName:String, unresolvedValue:*)

Creates a new processor instance.

Parameters
propertyName:String — the target to apply the property value to
 
unresolvedValue:* — the name of the property to set
Method Detail
destroy()method
public function destroy(target:ManagedObject):void

Invoked when the target instance gets removed from the Context. Implementations will usually unregister message receivers, unwatch bindings, remove listeners or perform similar disposal tasks.

Parameters

target:ManagedObject — the target instance that is getting removed from the Context

init()method 
public function init(target:ManagedObject):void

Invoked during initialization of the target instance. Implementations will usually set properties, registers message receivers or performs similar configuration tasks for the target instance managed by this processor.

Parameters

target:ManagedObject — the target instance that is getting initialized