|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ObjectIIOMetadata
AsciiGridsImageMetadata
public final class AsciiGridsImageMetadata
This class represents metadata associated with images and streams.
| Nested Class Summary | |
|---|---|
static class |
AsciiGridsImageMetadata.RasterSpaceType
Two available values to define raster space as defined in GeoTiff specifications. |
| Field Summary | |
|---|---|
static String[] |
metadataFormatNames
the list of supported metadata format names. |
static String |
nativeMetadataFormatName
the native metadata format name |
| Fields inherited from class IIOMetadata |
|---|
controller, defaultController, extraMetadataFormatClassNames, extraMetadataFormatNames, nativeMetadataFormatClassName, standardFormatSupported |
| Constructor Summary | |
|---|---|
AsciiGridsImageMetadata()
Default constructor |
|
AsciiGridsImageMetadata(AsciiGridRaster raster)
A constructor which uses an input AsciiGridRaster to initialize
metadata fields |
|
AsciiGridsImageMetadata(int cols,
int rows,
double cellsizeX,
double cellsizeY,
double xll,
double yll,
boolean isCorner,
boolean grass,
double inNoData)
A special constructor which uses parameters provided by the client, to set inner fields |
|
| Method Summary | |
|---|---|
Node |
getAsTree(String formatName)
returns the image metadata in a tree corresponding to the provided formatName |
IIOMetadataFormat |
getMetadataFormat(String formatName)
IIOMetadataFormat objects are meant to describe the structure of metadata returned from the getAsTree method. |
protected IIOMetadataNode |
getStandardChromaNode()
Standard tree node methods |
protected IIOMetadataNode |
getStandardCompressionNode()
|
boolean |
isReadOnly()
|
void |
mergeTree(String formatName,
Node root)
|
void |
reset()
|
| Methods inherited from class IIOMetadata |
|---|
activateController, getController, getDefaultController, getExtraMetadataFormatNames, getMetadataFormatNames, getNativeMetadataFormatName, 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 |
|---|
public static final String nativeMetadataFormatName
public static final String[] metadataFormatNames
| Constructor Detail |
|---|
public AsciiGridsImageMetadata(AsciiGridRaster raster)
AsciiGridRaster to initialize
metadata fields
raster - input AsciiGridRaster used to retrieve properties to
set inner fieldspublic AsciiGridsImageMetadata()
public AsciiGridsImageMetadata(int cols,
int rows,
double cellsizeX,
double cellsizeY,
double xll,
double yll,
boolean isCorner,
boolean grass,
double inNoData)
cols - the number of columnsrows - the number of rowscellsizeX - the x size of the grid cellcellsizeY - the y size of the grid cellxll - the xllCellCoordinate of the Bounding Boxyll - the yllCellCoordinate of the Bounding BoxisCorner - true if xll represents the xllCornergrass - true if the Ascii grid is GrassinNoData - the value associated to noData grid values| Method Detail |
|---|
public Node getAsTree(String formatName)
getAsTree in class IIOMetadataformatName - The format Name
IllegalArgumentException - if the formatName is not one of the supported format namespublic boolean isReadOnly()
isReadOnly in class IIOMetadataIIOMetadata.isReadOnly()
public void mergeTree(String formatName,
Node root)
throws IIOInvalidTreeException
mergeTree in class IIOMetadataIIOInvalidTreeExceptionIIOMetadata.mergeTree(java.lang.String,
org.w3c.dom.Node)public void reset()
reset in class IIOMetadataIIOMetadata.reset()public IIOMetadataFormat getMetadataFormat(String formatName)
getMetadataFormat in class IIOMetadataformatName - DOCUMENT ME!
IllegalArgumentException - DOCUMENT ME!protected IIOMetadataNode getStandardChromaNode()
getStandardChromaNode in class IIOMetadataprotected IIOMetadataNode getStandardCompressionNode()
getStandardCompressionNode in class IIOMetadata
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||