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) byte
bitsPerPixel
(package private) boolean
gotxmin
(package private) boolean
gotymin
(package private) int
hdpi
(package private) int
hsize
(package private) int
vdpi
(package private) short
version
(package private) int
vsize
(package private) short
xmin
(package private) short
ymin
-
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.Node
getAsTree(java.lang.String formatName)
private static java.lang.String
getAttribute(org.w3c.dom.Node node, java.lang.String attrName)
javax.imageio.metadata.IIOMetadataNode
getStandardDimensionNode()
javax.imageio.metadata.IIOMetadataNode
getStandardDocumentNode()
boolean
isReadOnly()
private void
mergeStandardTree(org.w3c.dom.Node root)
void
mergeTree(java.lang.String formatName, org.w3c.dom.Node root)
void
reset()
-
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:
getAsTree
in classjavax.imageio.metadata.IIOMetadata
-
isReadOnly
public boolean isReadOnly()
- Specified by:
isReadOnly
in classjavax.imageio.metadata.IIOMetadata
-
mergeTree
public void mergeTree(java.lang.String formatName, org.w3c.dom.Node root) throws javax.imageio.metadata.IIOInvalidTreeException
- Specified by:
mergeTree
in classjavax.imageio.metadata.IIOMetadata
- Throws:
javax.imageio.metadata.IIOInvalidTreeException
-
reset
public void reset()
- Specified by:
reset
in classjavax.imageio.metadata.IIOMetadata
-
getStandardDocumentNode
public javax.imageio.metadata.IIOMetadataNode getStandardDocumentNode()
- Overrides:
getStandardDocumentNode
in classjavax.imageio.metadata.IIOMetadata
-
getStandardDimensionNode
public javax.imageio.metadata.IIOMetadataNode getStandardDimensionNode()
- Overrides:
getStandardDimensionNode
in 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)
-
-