Packagecom.adobe.mediacore.metadata
Classpublic class MetadataNode
InheritanceMetadataNode Inheritance Object
Implements Metadata
Subclasses AuditudeSettings, NetworkConfiguration, VideoAnalyticsMetadata

Metadata simple node implementation.



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

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

Parameters

key:String
 
value:Metadata

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.

toString()method 
public function toString():String

Returns
String