public class XMLBox extends Box
| Modifier and Type | Field and Description | 
|---|---|
private static String[] | 
elementNames
Cache the element names for this box's xml definition 
 | 
data, extraLength, length, type| Constructor and Description | 
|---|
XMLBox(byte[] data)
Create a Box from its content. 
 | 
XMLBox(Node node)
Constructs a  
UUIDListBox based on the provided
  org.w3c.dom.Node. | 
| Modifier and Type | Method and Description | 
|---|---|
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 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, writeprivate static String[] elementNames
public XMLBox(byte[] data)
public XMLBox(Node node) throws IIOInvalidTreeException
UUIDListBox based on the provided
  org.w3c.dom.Node.IIOInvalidTreeExceptionpublic static String[] getElementNames()
public 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 BoxCopyright © 2017 Open Microscopy Environment