| Package | org.springextensions.actionscript.metadata |
| SVN browsing | AbstractMetadataProcessor.as |
| Fisheye | AbstractMetadataProcessor.as |
| Class | public class AbstractMetadataProcessor |
| Implements | IMetadataProcessor |
| Subclasses | EventHandlerMetadataProcessor, InitDestroyMetadataProcessor, MVCRouteEventsMetaDataProcessor, RequiredMetadataProcessor, RouteEventsMetaDataProcessor |
IMetadataProcessor implementations.
| Property | Defined 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 | ||
| Method | Defined 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 | ||
| Method | Defined by | ||
|---|---|---|---|
|
init(processBefore:Boolean, metadataNames:Array):void
Initializes the current
AbstractMetadataProcessor. | AbstractMetadataProcessor | ||
| metadataNames | property |
metadataNames:Array [read-only]
The names of the metadata annotations that the current IMetadataProcessor processes.
public function get metadataNames():Array
| processBeforeInitialization | property |
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.
public function get processBeforeInitialization():Boolean
| AbstractMetadataProcessor | () | constructor |
public function AbstractMetadataProcessor(processBefore:Boolean, metadataNames:Array = null)
Creates a new AbstractMetadataProcessor instance.
processBefore:Boolean — value to be assigned to the processBeforeInitialization property.
|
|
metadataNames:Array (default = null) — value to be assigned to the metadataNames property.
|
| init | () | method |
protected function init(processBefore:Boolean, metadataNames:Array):void
Initializes the current AbstractMetadataProcessor.
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):voidThrows an error when invoked directly, needs to be overriden by a subclass.
Parametersinstance:Object |
|
container:IMetaDataContainer |
|
name:String |
|
objectName:String |
— |