Packagecom.adobe.mediacore.metadata
Interfacepublic interface Metadata
Implementors MetadataNode

Generic interface to access metadata associated with PSDK objects.



Public Methods
 MethodDefined 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
Method Detail
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

Returns
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

Returns
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.

Returns
Boolean — 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.

Returns
Vector.<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.