Packageorg.spicefactory.parsley.processor.core
Classpublic class PropertyProcessor
InheritancePropertyProcessor Inheritance Object
Implements ObjectProcessor

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



Public Properties
 PropertyDefined By
  property : Property
[read-only] The property set by this processor.
PropertyProcessor
  unresolvedValue : *
[read-only] The unresolved value of the property.
PropertyProcessor
Public Methods
 MethodDefined By
  
PropertyProcessor(target:ManagedObject, property:Property, unresolvedValue:*)
Creates a new processor instance.
PropertyProcessor
  
[static] Creates a new processor factory.
PropertyProcessor
  
Invoked after the destroy method of the target instance has been invoked.
PropertyProcessor
  
preInit():void
Invoked before the init method of the target instance will be invoked.
PropertyProcessor
Property Detail
propertyproperty
property:Property  [read-only]

The property set by this processor.


Implementation
    public function get property():Property
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
PropertyProcessor()Constructor
public function PropertyProcessor(target:ManagedObject, property:Property, unresolvedValue:*)

Creates a new processor instance.

Parameters
target:ManagedObject — the target to apply the property value to
 
property:Property — the property to set
 
unresolvedValue:* — the unresolved property value
Method Detail
newFactory()method
public static function newFactory(property:Property, value:*):ObjectProcessorFactory

Creates a new processor factory.

Parameters

property:Property — the property to set
 
value:* — the unresolved property value

Returns
ObjectProcessorFactory — a new processor factory
postDestroy()method 
public function postDestroy():void

Invoked after the destroy method of the target instance has been invoked. Implementations will usually unregister message receivers, unwatch bindings, remove listeners or perform similar disposal tasks.

preInit()method 
public function preInit():void

Invoked before the init method of the target instance will be invoked. Implementations will usually set properties, registers message receivers or performs similar configuration tasks for the target instance managed by this processor.