Class PCXMetadata
- java.lang.Object
-
- javax.imageio.metadata.IIOMetadata
-
- com.github.jaiimageio.impl.plugins.pcx.PCXMetadata
-
- All Implemented Interfaces:
PCXConstants,java.lang.Cloneable
public class PCXMetadata extends javax.imageio.metadata.IIOMetadata implements java.lang.Cloneable, PCXConstants
-
-
Field Summary
Fields Modifier and Type Field Description (package private) bytebitsPerPixel(package private) booleangotxmin(package private) booleangotymin(package private) inthdpi(package private) inthsize(package private) intvdpi(package private) shortversion(package private) intvsize(package private) shortxmin(package private) shortymin-
Fields inherited from class javax.imageio.metadata.IIOMetadata
controller, defaultController, extraMetadataFormatClassNames, extraMetadataFormatNames, nativeMetadataFormatClassName, nativeMetadataFormatName, standardFormatSupported
-
Fields inherited from interface com.github.jaiimageio.impl.plugins.pcx.PCXConstants
ENCODING, MANUFACTURER, PALETTE_COLOR, PALETTE_GRAYSCALE, VERSION_2_5, VERSION_2_8_W_PALETTE, VERSION_2_8_WO_PALETTE, VERSION_3_0, VERSION_PC_WINDOWS
-
-
Constructor Summary
Constructors Constructor Description PCXMetadata()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.w3c.dom.NodegetAsTree(java.lang.String formatName)private static java.lang.StringgetAttribute(org.w3c.dom.Node node, java.lang.String attrName)javax.imageio.metadata.IIOMetadataNodegetStandardDimensionNode()javax.imageio.metadata.IIOMetadataNodegetStandardDocumentNode()booleanisReadOnly()private voidmergeStandardTree(org.w3c.dom.Node root)voidmergeTree(java.lang.String formatName, org.w3c.dom.Node root)voidreset()-
Methods inherited from class javax.imageio.metadata.IIOMetadata
activateController, getController, getDefaultController, getExtraMetadataFormatNames, getMetadataFormat, getMetadataFormatNames, getNativeMetadataFormatName, getStandardChromaNode, getStandardCompressionNode, getStandardDataNode, getStandardTextNode, getStandardTileNode, getStandardTransparencyNode, getStandardTree, hasController, isStandardMetadataFormatSupported, setController, setFromTree
-
-
-
-
Method Detail
-
getAsTree
public org.w3c.dom.Node getAsTree(java.lang.String formatName)
- Specified by:
getAsTreein classjavax.imageio.metadata.IIOMetadata
-
isReadOnly
public boolean isReadOnly()
- Specified by:
isReadOnlyin classjavax.imageio.metadata.IIOMetadata
-
mergeTree
public void mergeTree(java.lang.String formatName, org.w3c.dom.Node root) throws javax.imageio.metadata.IIOInvalidTreeException- Specified by:
mergeTreein classjavax.imageio.metadata.IIOMetadata- Throws:
javax.imageio.metadata.IIOInvalidTreeException
-
reset
public void reset()
- Specified by:
resetin classjavax.imageio.metadata.IIOMetadata
-
getStandardDocumentNode
public javax.imageio.metadata.IIOMetadataNode getStandardDocumentNode()
- Overrides:
getStandardDocumentNodein classjavax.imageio.metadata.IIOMetadata
-
getStandardDimensionNode
public javax.imageio.metadata.IIOMetadataNode getStandardDimensionNode()
- Overrides:
getStandardDimensionNodein classjavax.imageio.metadata.IIOMetadata
-
mergeStandardTree
private void mergeStandardTree(org.w3c.dom.Node root) throws javax.imageio.metadata.IIOInvalidTreeException- Throws:
javax.imageio.metadata.IIOInvalidTreeException
-
getAttribute
private static java.lang.String getAttribute(org.w3c.dom.Node node, java.lang.String attrName)
-
-