public class SignatureBox extends Box
data, extraLength, length, type
Constructor and Description |
---|
SignatureBox()
Constructs a
SignatureBox . |
SignatureBox(byte[] data)
Constructs a
SignatureBox based on the provided
byte array. |
SignatureBox(Node node)
Constructs a
SignatureBox based on the provided
org.w3c.dom.Node . |
Modifier and Type | Method and Description |
---|---|
protected void |
compose()
Composes the content byte array from the data elements.
|
IIOMetadataNode |
getNativeNode()
Creates an
IIOMetadataNode from this signature
box. |
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 SignatureBox()
SignatureBox
.public SignatureBox(Node node) throws IIOInvalidTreeException
SignatureBox
based on the provided
org.w3c.dom.Node
.IIOInvalidTreeException
public SignatureBox(byte[] data) throws IIOInvalidTreeException
SignatureBox
based on the provided
byte array.IIOInvalidTreeException
public IIOMetadataNode getNativeNode()
IIOMetadataNode
from this signature
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.