public class UUIDBox extends Box
Modifier and Type | Field and Description |
---|---|
private static String[] |
elementNames
Cache the element names for this box's xml definition
|
private byte[] |
udata |
private byte[] |
uuid
The data elements in this UUID 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
private static String[] elementNames
private byte[] uuid
private byte[] udata
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 © 2016 Open Microscopy Environment