it.geosolutions.imageio.plugins.mrsid
Class MrSIDIIOImageMetadata

Object
  extended by IIOMetadata
      extended by CoreCommonImageMetadata
          extended by GDALCommonIIOImageMetadata
              extended by MrSIDIIOImageMetadata

public class MrSIDIIOImageMetadata
extends GDALCommonIIOImageMetadata

Specialization of IIOMetadata specific for the MrSID format. It provides the user with the specific MrSID metadata.

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

Field Summary
static String mrsidImageMetadataFormatClassName
          The name of the class implementing IIOMetadataFormat and representing the metadata format for this object.
static String mrsidImageMetadataName
          The name of the metadata format for this object.
 
Fields inherited from class CoreCommonImageMetadata
nativeMetadataFormatClassName, nativeMetadataFormatName
 
Fields inherited from class IIOMetadata
controller, defaultController, extraMetadataFormatClassNames, extraMetadataFormatNames, standardFormatSupported
 
Constructor Summary
MrSIDIIOImageMetadata(String dataseName)
          MrSIDIIOImageMetadata constructor.
 
Method Summary
 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()
          Returns true since this object does not support the mergeTree, setFromTree, and reset methods.
 void mergeTree(String formatName, Node root)
          Method unsupported.
 void reset()
          Method unsupported.
 
Methods inherited from class GDALCommonIIOImageMetadata
asWritable, getGCPs, getGdalMetadataDomain, getGdalMetadataDomainsList
 
Methods inherited from class CoreCommonImageMetadata
createCommonNativeTree, getColorInterpretations, getColorInterpretations, getColorModel, getDatasetDescription, getDatasetName, getDescription, getDriverDescription, getDriverName, getGcpNumber, getGcpProjection, getGeoTransformation, getHeight, getMaximum, getMaximums, getMinimum, getMinimums, getNoDataValue, getNoDataValues, getNumBands, getNumOverviews, getNumOverviews, getOffset, getOffsets, getProjection, getSampleModel, getScale, getScales, getTileHeight, getTileWidth, getWidth, setColorInterpretations, setColorModel, setDatasetDescription, setDatasetName, setDriverDescription, setDriverName, setGcpNumber, setGcpProjection, setGcps, setGeoTransformation, setHeight, setMaximums, setMinimums, setNoDataValues, setNumBands, setNumOverviews, setOffsets, setProjection, setSampleModel, setScales, setTileHeight, setTileWidth, setWidth
 
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

mrsidImageMetadataName

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

See Also:
Constant Field Values

mrsidImageMetadataFormatClassName

public static final String mrsidImageMetadataFormatClassName
The name of the class implementing IIOMetadataFormat and representing the metadata format for this object.

See Also:
Constant Field Values
Constructor Detail

MrSIDIIOImageMetadata

public MrSIDIIOImageMetadata(String dataseName)
MrSIDIIOImageMetadata constructor.

Parameters:
dataseName - The name (usually a File path or a subdataset name when the format supports subdatasets) of the dataset we want to open.
Method Detail

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.

Overrides:
getAsTree in class CoreCommonImageMetadata
Parameters:
formatName - the name of the requested metadata format. Actually supported format name are mrsidImageMetadataName and CoreCommonImageMetadata.nativeMetadataFormatName.

isReadOnly

public boolean isReadOnly()
Returns true since this object does not support the mergeTree, setFromTree, and reset methods.

Overrides:
isReadOnly in class GDALCommonIIOImageMetadata
Returns:
true since this IIOMetadata object cannot be modified.

mergeTree

public void mergeTree(String formatName,
                      Node root)
               throws IIOInvalidTreeException
Method unsupported. Calling this method will throws an UnsupportedOperationException

Overrides:
mergeTree in class GDALCommonIIOImageMetadata
Throws:
IIOInvalidTreeException
See Also:
javax.imageio.metadata.IIOMetadata#mergeTree(), isReadOnly()

reset

public void reset()
Method unsupported. Calling this method will throws an UnsupportedOperationException

Overrides:
reset in class GDALCommonIIOImageMetadata
See Also:
IIOMetadata.reset(), isReadOnly()


Copyright © 2006-2010 GeoSolutions. All Rights Reserved.