public class PNMMetadata extends IIOMetadata implements Cloneable
controller, defaultController, extraMetadataFormatClassNames, extraMetadataFormatNames, nativeMetadataFormatClassName, standardFormatSupported| Constructor and Description |
|---|
PNMMetadata(IIOMetadata metadata) |
| Modifier and Type | Method and Description |
|---|---|
void |
addComment(String comment) |
protected Object |
clone() |
Node |
getAsTree(String formatName) |
Object |
getAttribute(Node node,
String name) |
String |
getFormatName() |
protected IIOMetadataNode |
getStandardChromaNode() |
protected IIOMetadataNode |
getStandardDataNode() |
protected IIOMetadataNode |
getStandardDimensionNode() |
protected IIOMetadataNode |
getStandardTextNode() |
String |
getVariant() |
boolean |
isReadOnly() |
void |
mergeTree(String formatName,
Node root) |
void |
reset() |
void |
setFromTree(String formatName,
Node root) |
void |
setHeight(int h) |
void |
setMaxBitDepth(int maxValue)
Set the maximum sample size and maximum sample value.
|
void |
setVariant(int v)
Sets the variant: '1' - '6'.
|
void |
setWidth(int w) |
activateController, getController, getDefaultController, getExtraMetadataFormatNames, getMetadataFormat, getMetadataFormatNames, getNativeMetadataFormatName, getStandardCompressionNode, getStandardDocumentNode, getStandardTileNode, getStandardTransparencyNode, getStandardTree, hasController, isStandardMetadataFormatSupported, setControllerpublic PNMMetadata(IIOMetadata metadata) throws IIOInvalidTreeException
IIOInvalidTreeExceptionpublic Node getAsTree(String formatName)
getAsTree in class IIOMetadataprotected IIOMetadataNode getStandardChromaNode()
getStandardChromaNode in class IIOMetadataprotected IIOMetadataNode getStandardDataNode()
getStandardDataNode in class IIOMetadataprotected IIOMetadataNode getStandardDimensionNode()
getStandardDimensionNode in class IIOMetadataprotected IIOMetadataNode getStandardTextNode()
getStandardTextNode in class IIOMetadatapublic boolean isReadOnly()
isReadOnly in class IIOMetadatapublic void mergeTree(String formatName, Node root) throws IIOInvalidTreeException
mergeTree in class IIOMetadataIIOInvalidTreeExceptionpublic void setFromTree(String formatName, Node root) throws IIOInvalidTreeException
setFromTree in class IIOMetadataIIOInvalidTreeExceptionpublic void reset()
reset in class IIOMetadatapublic String getFormatName()
public String getVariant()
public void setVariant(int v)
public void setWidth(int w)
public void setHeight(int h)
public void setMaxBitDepth(int maxValue)
maxValue - The maximum sample value. This method computes the
maximum sample size.public void addComment(String comment)
Copyright © 2014 Open Microscopy Environment