public class JP2KStreamMetadata extends IIOMetadata
Modifier and Type | Field and Description |
---|---|
static String |
nativeMetadataFormatName |
static String |
NUM_CODESTREAMS |
controller, defaultController, extraMetadataFormatClassNames, extraMetadataFormatNames, nativeMetadataFormatClassName, standardFormatSupported
Constructor and Description |
---|
JP2KStreamMetadata(TreeModel treeModel,
int numCodestreams) |
Modifier and Type | Method and Description |
---|---|
Node |
getAsTree(String formatName) |
boolean |
isReadOnly() |
void |
mergeTree(String formatName,
Node root) |
void |
reset() |
IIOMetadataNode |
searchFirstOccurrenceNode(int requestedBoxType)
Search the first occurrence of a node related to the specified box type
and return it as a
IIOMetadataNode or null in case of not found. |
List<IIOMetadataNode> |
searchOccurrencesNode(int requestedBoxType)
Search any JP2 Box metadata node occurrence of the specified type.
|
activateController, getController, getDefaultController, getExtraMetadataFormatNames, getMetadataFormat, getMetadataFormatNames, getNativeMetadataFormatName, getStandardChromaNode, getStandardCompressionNode, getStandardDataNode, getStandardDimensionNode, getStandardDocumentNode, getStandardTextNode, getStandardTileNode, getStandardTransparencyNode, getStandardTree, hasController, isStandardMetadataFormatSupported, setController, setFromTree
public static final String NUM_CODESTREAMS
public static final String nativeMetadataFormatName
public JP2KStreamMetadata(TreeModel treeModel, int numCodestreams)
public Node getAsTree(String formatName)
getAsTree
in class IIOMetadata
public boolean isReadOnly()
isReadOnly
in class IIOMetadata
public IIOMetadataNode searchFirstOccurrenceNode(int requestedBoxType)
IIOMetadataNode
or null in case of not found.
Search is performed visiting the children of a node before the brothers.public List<IIOMetadataNode> searchOccurrencesNode(int requestedBoxType)
requestedBoxType
- the box type to be searched.public void mergeTree(String formatName, Node root) throws IIOInvalidTreeException
mergeTree
in class IIOMetadata
IIOInvalidTreeException
public void reset()
reset
in class IIOMetadata
Copyright © 2006–2015 GeoSolutions. All rights reserved.