public class XMLBox extends Box
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, write
public XMLBox(byte[] data)
public XMLBox(Node node) throws IIOInvalidTreeException
UUIDListBox
based on the provided
org.w3c.dom.Node
.IIOInvalidTreeException
public 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 Box
Copyright © 2015–2022 SCIFIO. All rights reserved.