it.geosolutions.imageio.plugins.swan
Class SwanStreamMetadata

Object
  extended by IIOMetadata
      extended by SwanBaseMetadata
          extended by SwanStreamMetadata

public final class SwanStreamMetadata
extends SwanBaseMetadata

This class represents metadata associated with images and streams.

Author:
Daniele Romagnoli, GeoSolutions., Simone Giannecchini, GeoSolutions.

Field Summary
static String[] metadataFormatNames
           
static String nativeMetadataFormatName
           
protected  int nDatasets
           
protected  int nTau
           
 
Fields inherited from class SwanBaseMetadata
decimalDigits, nCols, nRows, rasterSpace, rasterSpaceTypes, xll, xur, yll, yur
 
Fields inherited from class IIOMetadata
controller, defaultController, extraMetadataFormatClassNames, extraMetadataFormatNames, nativeMetadataFormatClassName, standardFormatSupported
 
Constructor Summary
SwanStreamMetadata()
           
SwanStreamMetadata(SwanRaster raster)
           
 
Method Summary
 Node getAsTree(String formatName)
          returns the image metadata in a tree corresponding to the provided formatName
 IIOMetadataFormat getMetadataFormat(String formatName)
           
 boolean isReadOnly()
           
 void mergeTree(String formatName, Node root)
           
 void reset()
           
 
Methods inherited from class SwanBaseMetadata
initializeFromRaster
 
Methods inherited from class IIOMetadata
activateController, getController, getDefaultController, getExtraMetadataFormatNames, 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
See Also:
Constant Field Values

metadataFormatNames

public static final String[] metadataFormatNames

nDatasets

protected int nDatasets

nTau

protected int nTau
Constructor Detail

SwanStreamMetadata

public SwanStreamMetadata(SwanRaster raster)

SwanStreamMetadata

public SwanStreamMetadata()
Method Detail

getAsTree

public Node getAsTree(String formatName)
returns the image metadata in a tree corresponding to the provided formatName

Specified by:
getAsTree in class IIOMetadata
Parameters:
formatName - The format Name
Returns:
Throws:
IllegalArgumentException - if the formatName is not one of the supported format names

isReadOnly

public boolean isReadOnly()
Specified by:
isReadOnly in class IIOMetadata
See Also:
IIOMetadata.isReadOnly()

mergeTree

public void mergeTree(String formatName,
                      Node root)
               throws IIOInvalidTreeException
Specified by:
mergeTree in class IIOMetadata
Throws:
IIOInvalidTreeException
See Also:
IIOMetadata.mergeTree(java.lang.String, org.w3c.dom.Node)

reset

public void reset()
Overrides:
reset in class SwanBaseMetadata
See Also:
IIOMetadata.reset()

getMetadataFormat

public IIOMetadataFormat getMetadataFormat(String formatName)
Overrides:
getMetadataFormat in class IIOMetadata


Copyright © 2006-2010 GeoSolutions. All Rights Reserved.