Packageorg.spicefactory.parsley.core.view
Interfacepublic interface ViewProcessor
Implementors DefaultViewProcessor, FastInjectProcessor

Responsible for processing a single view instance. The tasks performed by a processor may vary from adding the view to the Context or just injecting an object from the Context into the view without turning it into a managed object.

The associated ViewLifecycle instance controls when the init and destroy methods of this processor get invoked.



Public Methods
 MethodDefined By
  
destroy():void
Disposes all configuration steps this processor has done in the init method.
ViewProcessor
  
init(config:ViewConfiguration, context:Context):void
Processes the target instance of the specified view configuration.
ViewProcessor
Method Detail
destroy()method
public function destroy():void

Disposes all configuration steps this processor has done in the init method.

init()method 
public function init(config:ViewConfiguration, context:Context):void

Processes the target instance of the specified view configuration. Depending on the reuse property of the view configuration this method may get invoked multiple time for the same view target.

Parameters

config:ViewConfiguration — the view configuration that holds the target this instance should process
 
context:Context — the Context associated with the target