public class UUIDBox extends Box
data, extraLength, length, type
Constructor and Description |
---|
UUIDBox(byte[] data)
Constructs a
UUIDBox from its content data array. |
UUIDBox(Node node)
Constructs a
UUIDBox based on the provided
org.w3c.dom.Node . |
Modifier and Type | Method and Description |
---|---|
protected void |
compose()
Composes the content byte array from the data elements.
|
byte[] |
getData()
Returns the UUID data of this box.
|
static String[] |
getElementNames()
This method will be called by the getNativeNodeForSimpleBox of the
class Box to get the element names.
|
IIOMetadataNode |
getNativeNode()
Creates an
IIOMetadataNode from this UUID
box. |
byte[] |
getUUID()
Returns the UUID of this box.
|
protected void |
parse(byte[] data)
Parses the data elements from the provided data array.
|
copyInt, createBox, getAttribute, getBoxClass, getByteArrayElementValue, getByteElementValue, getContent, getExtraLength, getIntArrayElementValue, getIntElementValue, getLength, getName, getNativeNodeForSimpleBox, getShortElementValue, getStringElementValue, getType, getTypeByName, getTypeInt, getTypeString, parseByteArray, parseIntArray, read, setContent, setDefaultAttributes, setExtraLength, setLength, write
public UUIDBox(byte[] data)
UUIDBox
from its content data array.public UUIDBox(Node node) throws IIOInvalidTreeException
UUIDBox
based on the provided
org.w3c.dom.Node
.IIOInvalidTreeException
public static String[] getElementNames()
protected void parse(byte[] data)
public byte[] getUUID()
public byte[] getData()
public IIOMetadataNode getNativeNode()
IIOMetadataNode
from this UUID
box. The format of this node is defined in the XML dtd and xsd
for the JP2 image file.getNativeNode
in class Box
Copyright © 2014 Open Microscopy Environment