public class XMLBox extends Box
data, extraLength, length, type
Constructor and Description |
---|
XMLBox(byte[] data)
Create a Box from its content.
|
XMLBox(org.w3c.dom.Node node)
Constructs a
UUIDListBox based on the provided
org.w3c.dom.Node . |
Modifier and Type | Method and Description |
---|---|
static java.lang.String[] |
getElementNames()
This method will be called by the getNativeNodeForSimpleBox of the
class Box to get the element names.
|
javax.imageio.metadata.IIOMetadataNode |
getNativeNode()
Creates an
IIOMetadataNode from this XML
box. |
compose, copyInt, createBox, getAttribute, getBoxClass, getByteArrayElementValue, getByteElementValue, getContent, getExtraLength, getIntArrayElementValue, getIntElementValue, getLength, getName, getNativeNodeForSimpleBox, getShortElementValue, getStringElementValue, getType, getTypeByName, getTypeInt, getTypeString, parse, parseByteArray, parseIntArray, read, setContent, setDefaultAttributes, setExtraLength, setLength, write
public XMLBox(byte[] data)
public XMLBox(org.w3c.dom.Node node) throws javax.imageio.metadata.IIOInvalidTreeException
UUIDListBox
based on the provided
org.w3c.dom.Node
.javax.imageio.metadata.IIOInvalidTreeException
public static java.lang.String[] getElementNames()
public javax.imageio.metadata.IIOMetadataNode getNativeNode()
IIOMetadataNode
from this XML
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