it.geosolutions.imageio.ndplugin
Class BaseImageMetadata

Object
  extended by IIOMetadata
      extended by CoreCommonImageMetadata
          extended by BaseImageMetadata

public abstract class BaseImageMetadata
extends CoreCommonImageMetadata

A basic abstract class containing common metadata such as basic raster properties TODO @TODO: Add UOM management (Maybe, it is more appropriate to do on the upper class).

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

Field Summary
static String ATTRIBUTES_NODE
           
protected  BaseImageReader imageReader
           
 
Fields inherited from class CoreCommonImageMetadata
nativeMetadataFormatClassName, nativeMetadataFormatName
 
Fields inherited from class IIOMetadata
controller, defaultController, extraMetadataFormatClassNames, extraMetadataFormatNames, standardFormatSupported
 
Constructor Summary
protected BaseImageMetadata(BaseImageReader reader, int imageIndex)
          BaseImageMetadata constructor.
 
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.
protected  int getImageIndex()
           
 BaseImageReader getImageReader()
           
protected  void setMembers(BaseImageReader imageReader)
           
 
Methods inherited from class CoreCommonImageMetadata
getAsTree, getColorInterpretations, getColorInterpretations, getColorModel, getDatasetDescription, getDatasetName, getDescription, getDriverDescription, getDriverName, getGcpNumber, getGcpProjection, getGCPs, getGeoTransformation, getHeight, getMaximum, getMaximums, getMinimum, getMinimums, getNoDataValue, getNoDataValues, getNumBands, getNumOverviews, getNumOverviews, getOffset, getOffsets, getProjection, getSampleModel, getScale, getScales, getTileHeight, getTileWidth, getWidth, isReadOnly, mergeTree, reset, 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

ATTRIBUTES_NODE

public static final String ATTRIBUTES_NODE
See Also:
Constant Field Values

imageReader

protected final BaseImageReader imageReader
Constructor Detail

BaseImageMetadata

protected BaseImageMetadata(BaseImageReader reader,
                            int imageIndex)
BaseImageMetadata constructor.

Parameters:
reader - the reader used to obtain metadata.
name - the name to be set for the dataset represented by this common metadata object.
Method Detail

setMembers

protected void setMembers(BaseImageReader imageReader)
                   throws IOException
Throws:
IOException

getImageIndex

protected int getImageIndex()

createCommonNativeTree

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

Overrides:
createCommonNativeTree in class CoreCommonImageMetadata
Returns:
a root node containing common metadata exposed on its native format.

getImageReader

public BaseImageReader getImageReader()


Copyright © 2006-2010 GeoSolutions. All Rights Reserved.