it.geosolutions.imageio.plugins.hdf4.terascan
Class HDF4TeraScanStreamMetadata

Object
  extended by IIOMetadata
      extended by HDF4TeraScanStreamMetadata

public class HDF4TeraScanStreamMetadata
extends IIOMetadata


Field Summary
static String GLOBAL_ATTRIBUTES
           
static String nativeMetadataFormatName
          The name of the native metadata format for this object.
 
Fields inherited from class IIOMetadata
controller, defaultController, extraMetadataFormatClassNames, extraMetadataFormatNames, nativeMetadataFormatClassName, standardFormatSupported
 
Constructor Summary
HDF4TeraScanStreamMetadata(BaseImageReader imageReader)
           
 
Method Summary
protected  Node createCommonNativeTree()
          Returns the XML DOM Node object that represents the root of a tree of metadata contained within this object on its native format.
 Node getAsTree(String formatName)
          Returns an XML DOM Node object that represents the root of a tree of common stream metadata contained within this object according to the conventions defined by a given metadata format name.
 boolean isReadOnly()
           
 void mergeTree(String formatName, Node root)
           
 void reset()
           
 
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

nativeMetadataFormatName

public static final String nativeMetadataFormatName
The name of the native metadata format for this object.

See Also:
Constant Field Values

GLOBAL_ATTRIBUTES

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

HDF4TeraScanStreamMetadata

public HDF4TeraScanStreamMetadata(BaseImageReader imageReader)
Method Detail

createCommonNativeTree

protected Node createCommonNativeTree()
Returns the XML DOM Node object that represents the root of a tree of metadata contained within this object on its native format.

Returns:
a root node containing common metadata exposed on its native format.

getAsTree

public Node getAsTree(String formatName)
Returns an XML DOM Node object that represents the root of a tree of common stream metadata contained within this object according to the conventions defined by a given metadata format name.

Specified by:
getAsTree in class IIOMetadata
Parameters:
formatName - the name of the requested metadata format. Note that actually, the only supported format name is the CoreCommonImageMetadata.nativeMetadataFormatName. Requesting other format names will result in an IllegalArgumentException

isReadOnly

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

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.