| Package | org.spicefactory.parsley.processor.core |
| Class | public class PropertyProcessor |
| Inheritance | PropertyProcessor Object |
| Implements | ObjectProcessor |
| Property | Defined By | ||
|---|---|---|---|
| property : Property [read-only]
The property set by this processor. | PropertyProcessor | ||
| unresolvedValue : * [read-only]
The unresolved value of the property. | PropertyProcessor | ||
| Method | Defined By | ||
|---|---|---|---|
Creates a new processor instance. | PropertyProcessor | ||
[static]
Creates a new processor factory. | PropertyProcessor | ||
postDestroy():void
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 | property |
property:Property [read-only] The property set by this processor.
public function get property():Property| unresolvedValue | property |
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.
public function get unresolvedValue():*| PropertyProcessor | () | Constructor |
public function PropertyProcessor(target:ManagedObject, property:Property, unresolvedValue:*)Creates a new processor instance.
Parameterstarget:ManagedObject — the target to apply the property value to
| |
property:Property — the property to set
| |
unresolvedValue:* — the unresolved property value
|
| newFactory | () | method |
public static function newFactory(property:Property, value:*):ObjectProcessorFactoryCreates a new processor factory.
Parameters
property:Property — the property to set
| |
value:* — the unresolved property value
|
ObjectProcessorFactory — a new processor factory
|
| postDestroy | () | method |
public function postDestroy():voidInvoked 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():voidInvoked 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.