public class UUIDListBox extends Box
Modifier and Type | Field and Description |
---|---|
private short |
num
The data elements of this box.
|
private byte[][] |
uuids |
data, extraLength, length, type
Constructor and Description |
---|
UUIDListBox(byte[] data)
Constructs a
UUIDListBox from the provided content
data array. |
UUIDListBox(Node node)
Constructs a
UUIDListBox based on the provided
org.w3c.dom.Node . |
UUIDListBox(short num,
byte[][] uuids)
Constructs a
UUIDListBox from the provided uuid number
and uuids. |
Modifier and Type | Method and Description |
---|---|
protected void |
compose()
Composes the content byte array from the data elements.
|
IIOMetadataNode |
getNativeNode()
Creates an
IIOMetadataNode from this UUID list
box. |
protected void |
parse(byte[] data)
Parses the data elements from the provided content 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 UUIDListBox(short num, byte[][] uuids)
UUIDListBox
from the provided uuid number
and uuids. The provided uuids should have a size of 16; otherwise,
Exception
may thrown in later the process. The provided
number should consistent with the size of the uuid array.public UUIDListBox(byte[] data)
UUIDListBox
from the provided content
data array.public UUIDListBox(Node node) throws IIOInvalidTreeException
UUIDListBox
based on the provided
org.w3c.dom.Node
.IIOInvalidTreeException
protected void parse(byte[] data)
public IIOMetadataNode getNativeNode()
IIOMetadataNode
from this UUID list
box. The format of this node is defined in the XML dtd and xsd
for the JP2 image file.getNativeNode
in class Box
Copyright © 2017 Open Microscopy Environment