Package | com.adobe.mediacore.metadata |
Interface | public interface Metadata |
Implementors | MetadataNode |
Method | Defined By | ||
---|---|---|---|
containsKey(key:String):Boolean
Checks if the metadata contains the specified key. | Metadata | ||
getValue(key:String):String
Returns the value associated with the specified key as string. | Metadata | ||
isEmpty():Boolean
Checks if the metadata has any mapping defined. | Metadata | ||
keySet():Vector.<String>
Returns a vector containing the strings used as keys in this metadata. | Metadata | ||
setValue(key:String, value:String):void
Stores a String value into this metadata, replacing any existing
value for the given key. | Metadata |
containsKey | () | method |
public function containsKey(key:String):Boolean
Checks if the metadata contains the specified key.
Parameters
key:String — the key to be looked for
|
Boolean — true if the key is found, false otherwise.
|
getValue | () | method |
public function getValue(key:String):String
Returns the value associated with the specified key as string.
Parameters
key:String — a string key
|
String — a string or null if the key is not found.
|
isEmpty | () | method |
public function isEmpty():Boolean
Checks if the metadata has any mapping defined.
ReturnsBoolean — true if there are no values in it, false otherwise.
|
keySet | () | method |
public function keySet():Vector.<String>
Returns a vector containing the strings used as keys in this metadata. If the metadata is empty, it will return an empty set.
ReturnsVector.<String> — a vector of strings
|
setValue | () | method |
public function setValue(key:String, value:String):void
Stores a String value into this metadata, replacing any existing value for the given key.
Parameters
key:String — a string
| |
value:String — the value to be stored.
|