public class EssenceElementImpl extends Object implements EssenceElement, XMLSerializable
CPData, CPPicture, CPSound, ELEMENT_COUNT_INDEX, ELEMENT_NUMBER_INDEX, ELEMENT_TYPE_INDEX, essenceElementBase, GCCompound, GCData, GCPicture, GCSound, ITEM_TYPE_INDEX| Constructor and Description |
|---|
EssenceElementImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
appendXMLChildren(Node parent)
Append extra child elements to the given parent node to serialize the value of an object
to an XML fragment.
|
String |
getComment()
Include a comment when serializing a value to XML.
|
ByteBuffer |
getData() |
byte |
getElementCount() |
byte |
getElementNumber() |
byte |
getElementType() |
int |
getEssenceTrackIdentifier() |
byte |
getItemType() |
UnitType |
getUnitType() |
static boolean |
isEssenceElement(UL key) |
static EssenceElement |
make(UL elementKey,
ByteBuffer data) |
void |
setData(ByteBuffer data) |
void |
setElementCount(byte elementCount) |
void |
setElementNumber(byte elementNumber) |
void |
setElementType(byte elementType) |
void |
setItemType(byte itemType) |
String |
toString() |
public ByteBuffer getData()
public void setData(ByteBuffer data)
public static final boolean isEssenceElement(UL key)
public static final EssenceElement make(UL elementKey, ByteBuffer data)
public byte getItemType()
public void setItemType(byte itemType)
public byte getElementCount()
public void setElementCount(byte elementCount)
public byte getElementType()
public void setElementType(byte elementType)
public byte getElementNumber()
public void setElementNumber(byte elementNumber)
public int getEssenceTrackIdentifier()
public void appendXMLChildren(Node parent)
XMLSerializableAppend extra child elements to the given parent node to serialize the value of an object
to an XML fragment. Methods of the XMLBuilder class are provided to help with this
process.
appendXMLChildren in interface XMLSerializableparent - XML parent element to append child nodes to.public String getComment()
XMLSerializableInclude a comment when serializing a value to XML. The comment will be inserted as the first child node of the element representing the class.
getComment in interface XMLSerializablepublic UnitType getUnitType()
getUnitType in interface MXFUnit(c)2007-2016 Richard Cartwright, all rights reserved. Licensed under Apache 2 license and subject to the AMWA IPR policy.