Packageorg.springextensions.actionscript.metadata
SVN browsingAbstractMetadataProcessor.as
FisheyeAbstractMetadataProcessor.as
Classpublic class AbstractMetadataProcessor
ImplementsIMetadataProcessor
SubclassesEventHandlerMetadataProcessor, InitDestroyMetadataProcessor, MVCRouteEventsMetaDataProcessor, RequiredMetadataProcessor, RouteEventsMetaDataProcessor

Abstract base class for IMetadataProcessor implementations.



Documentation reference: annotations

Sample project: metadataprocessor (source)


Public Properties
 PropertyDefined by
  metadataNames : Array
[read-only] The names of the metadata annotations that the current IMetadataProcessor processes.
AbstractMetadataProcessor
  processBeforeInitialization : Boolean
[read-only] If true the IMetadataProcessor instance will be able to process the annotated instance before it has been initialized by the container.
AbstractMetadataProcessor
Public Methods
 MethodDefined by
  
AbstractMetadataProcessor(processBefore:Boolean, metadataNames:Array = null)
Creates a new AbstractMetadataProcessor instance.
AbstractMetadataProcessor
  
process(instance:Object, container:IMetaDataContainer, name:String, objectName:String):void
Throws an error when invoked directly, needs to be overriden by a subclass.
AbstractMetadataProcessor
Protected Methods
 MethodDefined by
  
init(processBefore:Boolean, metadataNames:Array):void
Initializes the current AbstractMetadataProcessor.
AbstractMetadataProcessor
Property detail
metadataNamesproperty
metadataNames:Array  [read-only]

The names of the metadata annotations that the current IMetadataProcessor processes.

Implementation
    public function get metadataNames():Array
processBeforeInitializationproperty 
processBeforeInitialization:Boolean  [read-only]

If true the IMetadataProcessor instance will be able to process the annotated instance before it has been initialized by the container.

Implementation
    public function get processBeforeInitialization():Boolean
Constructor detail
AbstractMetadataProcessor()constructor
public function AbstractMetadataProcessor(processBefore:Boolean, metadataNames:Array = null)

Creates a new AbstractMetadataProcessor instance.

Parameters
processBefore:Boolean — value to be assigned to the processBeforeInitialization property.
 
metadataNames:Array (default = null) — value to be assigned to the metadataNames property.
Method detail
init()method
protected function init(processBefore:Boolean, metadataNames:Array):void

Initializes the current AbstractMetadataProcessor.

Parameters
processBefore:Boolean — value to be assigned to the processBeforeInitialization property.
 
metadataNames:Array — value to be assigned to the metadataNames property.
process()method 
public function process(instance:Object, container:IMetaDataContainer, name:String, objectName:String):void

Throws an error when invoked directly, needs to be overriden by a subclass.

Parameters
instance:Object
 
container:IMetaDataContainer
 
name:String
 
objectName:String

Throws