Packageorg.spicefactory.parsley.core.builder.processor
Classpublic class PropertySetterProcessor
InheritancePropertySetterProcessor Inheritance Object
Implements PropertyProcessor

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



Public Methods
 MethodDefined By
  
PropertySetterProcessor(unresolvedValue:*)
Creates a new processor instance.
PropertySetterProcessor
  
destroy(target:ManagedObject):void
Invoked when the target instance gets removed from the Context.
PropertySetterProcessor
  
init(target:ManagedObject):void
Invoked during initialization of the target instance.
PropertySetterProcessor
  
targetProperty(property:Property):void
Sets the target property for this processor.
PropertySetterProcessor
Constructor Detail
PropertySetterProcessor()Constructor
public function PropertySetterProcessor(unresolvedValue:*)

Creates a new processor instance.

Parameters
unresolvedValue:* — the unresolved property value
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

targetProperty()method 
public function targetProperty(property:Property):void

Sets the target property for this processor.

Parameters

property:Property — the target property for this processor