Class XMLBox
- java.lang.Object
-
- com.github.jaiimageio.jpeg2000.impl.Box
-
- com.github.jaiimageio.jpeg2000.impl.XMLBox
-
-
Field Summary
-
Fields inherited from class com.github.jaiimageio.jpeg2000.impl.Box
data, extraLength, length, type
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static String[]getElementNames()This method will be called by the getNativeNodeForSimpleBox of the class Box to get the element names.IIOMetadataNodegetNativeNode()Creates anIIOMetadataNodefrom this XML box.-
Methods inherited from class com.github.jaiimageio.jpeg2000.impl.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
-
-
-
-
Constructor Detail
-
XMLBox
public XMLBox(byte[] data)
Create a Box from its content.
-
XMLBox
public XMLBox(Node node) throws IIOInvalidTreeException
Constructs aUUIDListBoxbased on the providedorg.w3c.dom.Node.- Throws:
IIOInvalidTreeException
-
-
Method Detail
-
getElementNames
public static String[] getElementNames()
This method will be called by the getNativeNodeForSimpleBox of the class Box to get the element names.
-
getNativeNode
public IIOMetadataNode getNativeNode()
Creates anIIOMetadataNodefrom this XML box. The format of this node is defined in the XML dtd and xsd for the JP2 image file.- Overrides:
getNativeNodein classBox
-
-