| Package | org.spicefactory.lib.reflect.metadata |
| Class | public class MappedMetadata |
Metadata.registerMetadataClass.
For any mapped metadata class metadata tags in AS3 classes will be mapped to instances
of that class, automatically mapping metadata attributes to properties of the mapped class
including automatic type conversion if necessary.
| Property | Defined by | ||
|---|---|---|---|
| name : String
The name of the metadata tag.
| MappedMetadata | ||
| types : Array
The types for which this Metadata tag should be processed.
| MappedMetadata | ||
| name | property |
public var name:StringThe name of the metadata tag. If not specified the name is the non-qualifed class name of the mapped class.
| types | property |
public var types:Array
The types for which this Metadata tag should be processed.
Valid values are class, constructor,
property or method. If not specified
the metadata is processed for all types. For other types the
metadata will be represented by the generic Metadata
class and not be mapped to a custom class.
The constructor type is included for future use.
Currently the Flex SDK compiler ignores all metadata tags placed on constructors.