it.geosolutions.imageio.plugins.jp2k
Class JP2KStreamMetadata

Object
  extended by IIOMetadata
      extended by JP2KStreamMetadata

public class JP2KStreamMetadata
extends IIOMetadata


Field Summary
static String nativeMetadataFormatName
           
static String NUM_CODESTREAMS
           
 
Fields inherited from class IIOMetadata
controller, defaultController, extraMetadataFormatClassNames, extraMetadataFormatNames, nativeMetadataFormatClassName, standardFormatSupported
 
Constructor Summary
JP2KStreamMetadata(TreeModel treeModel, int numCodestreams)
           
 
Method Summary
 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.
 
Methods inherited from class IIOMetadata
activateController, getController, getDefaultController, getExtraMetadataFormatNames, getMetadataFormat, getMetadataFormatNames, getNativeMetadataFormatName, getStandardChromaNode, getStandardCompressionNode, getStandardDataNode, getStandardDimensionNode, getStandardDocumentNode, getStandardTextNode, getStandardTileNode, getStandardTransparencyNode, getStandardTree, hasController, isStandardMetadataFormatSupported, setController, setFromTree
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NUM_CODESTREAMS

public static final String NUM_CODESTREAMS
See Also:
Constant Field Values

nativeMetadataFormatName

public static final String nativeMetadataFormatName
See Also:
Constant Field Values
Constructor Detail

JP2KStreamMetadata

public JP2KStreamMetadata(TreeModel treeModel,
                          int numCodestreams)
Method Detail

getAsTree

public Node getAsTree(String formatName)
Specified by:
getAsTree in class IIOMetadata

isReadOnly

public boolean isReadOnly()
Specified by:
isReadOnly in class IIOMetadata

searchFirstOccurrenceNode

public 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. Search is performed visiting the children of a node before the brothers.


searchOccurrencesNode

public List<IIOMetadataNode> searchOccurrencesNode(int requestedBoxType)
Search any JP2 Box metadata node occurrence of the specified type.

Parameters:
requestedBoxType - the box type to be searched.
Returns:
a List containing any occurrence found.

mergeTree

public void mergeTree(String formatName,
                      Node root)
               throws IIOInvalidTreeException
Specified by:
mergeTree in class IIOMetadata
Throws:
IIOInvalidTreeException

reset

public void reset()
Specified by:
reset in class IIOMetadata


Copyright © 2006-2010 GeoSolutions. All Rights Reserved.