| Package | org.as3commons.reflect |
| Interface | public interface IMetadataContainer |
| Implementors | MetadataContainer |
| Property | Defined By | ||
|---|---|---|---|
| metadata : Array [read-only]
Returns an array of all metadata objects in this container. | IMetadataContainer | ||
| Method | Defined By | ||
|---|---|---|---|
addMetadata(metadata:Metadata):void
Adds a Metadata object to this container. | IMetadataContainer | ||
getMetadata(key:String):Array
Returns the array of Metadata object that corresponds to the given key. | IMetadataContainer | ||
hasExactMetadata(otherMetadata:Metadata):Boolean | IMetadataContainer | ||
hasMetadata(key:String):Boolean
Returns whether this object has meta data for the given key. | IMetadataContainer | ||
| metadata | property |
metadata:Array [read-only] Returns an array of all metadata objects in this container.
public function get metadata():Array| addMetadata | () | method |
public function addMetadata(metadata:Metadata):voidAdds a Metadata object to this container.
Parameters
metadata:Metadata |
| getMetadata | () | method |
public function getMetadata(key:String):ArrayReturns the array of Metadata object that corresponds to the given key. If no Metadata object was found, an empty array is returned.
Parameters
key:String |
Array |
| hasExactMetadata | () | method |
public function hasExactMetadata(otherMetadata:Metadata):BooleanParameters
otherMetadata:Metadata |
Boolean |
| hasMetadata | () | method |
public function hasMetadata(key:String):BooleanReturns whether this object has meta data for the given key.
Parameters
key:String |
Boolean |