it.geosolutions.imageio.plugins.netcdf
Class NetCDFImageMetadata

java.lang.Object
  extended by javax.imageio.metadata.IIOMetadata
      extended by it.geosolutions.imageio.core.CoreCommonImageMetadata
          extended by it.geosolutions.imageio.ndplugin.BaseImageMetadata
              extended by it.geosolutions.imageio.plugins.netcdf.NetCDFImageMetadata

public class NetCDFImageMetadata
extends BaseImageMetadata

Class for the NetCDF Image Metadata representation.

Author:
Alessio Fabiani, GeoSolutions, Daniele Romagnoli, GeoSolutions

Field Summary
static String nativeMetadataFormatName
           
 
Fields inherited from class it.geosolutions.imageio.ndplugin.BaseImageMetadata
ATTRIBUTES_NODE, imageReader
 
Fields inherited from class it.geosolutions.imageio.core.CoreCommonImageMetadata
nativeMetadataFormatClassName
 
Fields inherited from class javax.imageio.metadata.IIOMetadata
controller, defaultController, extraMetadataFormatClassNames, extraMetadataFormatNames, standardFormatSupported
 
Constructor Summary
protected NetCDFImageMetadata(BaseImageReader reader, int imageIndex)
           
 
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.
protected  void setMembers(BaseImageReader imageReader)
           
 
Methods inherited from class it.geosolutions.imageio.ndplugin.BaseImageMetadata
createCommonNativeTree, getImageIndex, getImageReader
 
Methods inherited from class it.geosolutions.imageio.core.CoreCommonImageMetadata
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 javax.imageio.metadata.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 java.lang.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
Constructor Detail

NetCDFImageMetadata

protected NetCDFImageMetadata(BaseImageReader reader,
                              int imageIndex)
Method Detail

setMembers

protected void setMembers(BaseImageReader imageReader)
                   throws IOException
Overrides:
setMembers in class BaseImageMetadata
Throws:
IOException

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. Note that actually, the only supported format name is the CoreCommonImageMetadata.nativeMetadataFormatName. Requesting other format names will result in an IllegalArgumentException


Copyright © 2006–2014 GeoSolutions. All rights reserved.