java.lang .Object com.sun.media.imageioimpl.plugins.jpeg2000 .Box com.sun.media.imageioimpl.plugins.jpeg2000 .UUIDBox UUIDBox public class UUIDBox extends Box (Code) This class is defined to represent a UUID Box of JPEG JP2
file format. This type of box has a length, a type of "uuid". Its
content is a 16-byte UUID followed with a various-length data.
Constructor Summary public UUIDBox (byte[] data) Constructs a UUIDBox
from its content data array.public UUIDBox (Node node) Constructs a UUIDBox
based on the provided
org.w3c.dom.Node
.
Method Summary protected voidcompose () public byte[]getData () Returns the UUID data of this box.public static String []getElementNames () This method will be called by the getNativeNodeForSimpleBox of the
class Box to get the element names.public IIOMetadataNode getNativeNode () Creates an IIOMetadataNode
from this UUID
box.public byte[]getUUID () Returns the UUID of this box.protected voidparse (byte[] data) Parses the data elements from the provided data array.
UUIDBox public UUIDBox(byte[] data)(Code) Constructs a UUIDBox
from its content data array.
compose protected void compose()(Code)
getData public byte[] getData()(Code) Returns the UUID data of this box.
getElementNames public static String [] getElementNames()(Code) This method will be called by the getNativeNodeForSimpleBox of the
class Box to get the element names.
getNativeNode public IIOMetadataNode getNativeNode()(Code) Creates an IIOMetadataNode
from this UUID
box. The format of this node is defined in the XML dtd and xsd
for the JP2 image file.
getUUID public byte[] getUUID()(Code) Returns the UUID of this box.
parse protected void parse(byte[] data)(Code) Parses the data elements from the provided data array.