it.geosolutions.imageio.plugins.pnm
Class PNMMetadata
Object
IIOMetadata
PNMMetadata
- All Implemented Interfaces:
- Cloneable
public class PNMMetadata
- extends IIOMetadata
- implements Cloneable
Metadata for the PNM plug-in.
Fields inherited from class IIOMetadata |
controller, defaultController, extraMetadataFormatClassNames, extraMetadataFormatNames, nativeMetadataFormatClassName, standardFormatSupported |
Methods inherited from class IIOMetadata |
activateController, getController, getDefaultController, getExtraMetadataFormatNames, getMetadataFormat, getMetadataFormatNames, getNativeMetadataFormatName, getStandardCompressionNode, getStandardDocumentNode, getStandardTileNode, getStandardTransparencyNode, getStandardTree, hasController, isStandardMetadataFormatSupported, setController |
Methods inherited from class Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PNMMetadata
public PNMMetadata(IIOMetadata metadata)
throws IIOInvalidTreeException
- Throws:
IIOInvalidTreeException
clone
protected Object clone()
- Overrides:
clone
in class Object
getAsTree
public Node getAsTree(String formatName)
- Specified by:
getAsTree
in class IIOMetadata
getStandardChromaNode
protected IIOMetadataNode getStandardChromaNode()
- Overrides:
getStandardChromaNode
in class IIOMetadata
getStandardDataNode
protected IIOMetadataNode getStandardDataNode()
- Overrides:
getStandardDataNode
in class IIOMetadata
getStandardDimensionNode
protected IIOMetadataNode getStandardDimensionNode()
- Overrides:
getStandardDimensionNode
in class IIOMetadata
getStandardTextNode
protected IIOMetadataNode getStandardTextNode()
- Overrides:
getStandardTextNode
in class IIOMetadata
isReadOnly
public boolean isReadOnly()
- Specified by:
isReadOnly
in class IIOMetadata
mergeTree
public void mergeTree(String formatName,
Node root)
throws IIOInvalidTreeException
- Specified by:
mergeTree
in class IIOMetadata
- Throws:
IIOInvalidTreeException
setFromTree
public void setFromTree(String formatName,
Node root)
throws IIOInvalidTreeException
- Overrides:
setFromTree
in class IIOMetadata
- Throws:
IIOInvalidTreeException
reset
public void reset()
- Specified by:
reset
in class IIOMetadata
getFormatName
public String getFormatName()
getVariant
public String getVariant()
setVariant
public void setVariant(int v)
- Sets the variant: '1' - '6'.
setWidth
public void setWidth(int w)
setHeight
public void setHeight(int h)
setMaxBitDepth
public void setMaxBitDepth(int maxValue)
- Set the maximum sample size and maximum sample value.
- Parameters:
maxValue
- The maximum sample value. This method computes the
maximum sample size.
addComment
public void addComment(String comment)
getAttribute
public Object getAttribute(Node node,
String name)
Copyright © 2006-2010 GeoSolutions. All Rights Reserved.