Packagecom.adobe.mediacore.metadata
Classpublic class ByteArrayMetadataNode
InheritanceByteArrayMetadataNode Inheritance Object
Implements ByteArrayMetadata

Metadata simple node implementation.



Public Methods
 MethodDefined By
  
Default constructor.
ByteArrayMetadataNode
  
containsKey(key:String):Boolean
Checks if the metadata contains the specified key.
ByteArrayMetadataNode
  
getNode(key:String):Metadata
ByteArrayMetadataNode
  
getValue(key:String):ByteArray
Returns the value associated with the specified key as string.
ByteArrayMetadataNode
  
isEmpty():Boolean
Checks if the metadata has any mapping defined.
ByteArrayMetadataNode
  
keySet():Vector.<String>
Returns a vector containing the strings used as keys in this metadata.
ByteArrayMetadataNode
  
setNode(key:String, value:Metadata):void
ByteArrayMetadataNode
  
setValue(key:String, value:ByteArray):void
Stores a String value into this metadata, replacing any existing value for the given key.
ByteArrayMetadataNode
  
toString():String
ByteArrayMetadataNode
Constructor Detail
ByteArrayMetadataNode()Constructor
public function ByteArrayMetadataNode()

Default constructor.

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.
getNode()method 
public function getNode(key:String):Metadata

Parameters

key:String

Returns
Metadata
getValue()method 
public function getValue(key:String):ByteArray

Returns the value associated with the specified key as string.

Parameters

key:String — a string key

Returns
ByteArray — 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
setNode()method 
public function setNode(key:String, value:Metadata):void

Parameters

key:String
 
value:Metadata

setValue()method 
public function setValue(key:String, value:ByteArray):void

Stores a String value into this metadata, replacing any existing value for the given key.

Parameters

key:String — a string
 
value:ByteArray — the value to be stored.

toString()method 
public function toString():String

Returns
String