public class GIFStreamMetadata
extends javax.imageio.metadata.IIOMetadata
Modifier and Type | Field and Description |
---|---|
int |
backgroundColorIndex |
int |
colorResolution |
static java.lang.String[] |
colorTableSizes |
byte[] |
globalColorTable |
int |
logicalScreenHeight |
int |
logicalScreenWidth |
int |
pixelAspectRatio |
boolean |
sortFlag |
java.lang.String |
version |
static java.lang.String[] |
versionStrings |
Modifier | Constructor and Description |
---|---|
|
GIFStreamMetadata() |
protected |
GIFStreamMetadata(boolean standardMetadataFormatSupported,
java.lang.String nativeMetadataFormatName,
java.lang.String nativeMetadataFormatClassName,
java.lang.String[] extraMetadataFormatNames,
java.lang.String[] extraMetadataFormatClassNames) |
Modifier and Type | Method and Description |
---|---|
protected static void |
fatal(org.w3c.dom.Node node,
java.lang.String reason) |
org.w3c.dom.Node |
getAsTree(java.lang.String formatName) |
protected static java.lang.String |
getAttribute(org.w3c.dom.Node node,
java.lang.String name) |
protected static java.lang.String |
getAttribute(org.w3c.dom.Node node,
java.lang.String name,
java.lang.String defaultValue,
boolean required) |
protected static boolean |
getBooleanAttribute(org.w3c.dom.Node node,
java.lang.String name) |
protected static boolean |
getBooleanAttribute(org.w3c.dom.Node node,
java.lang.String name,
boolean defaultValue,
boolean required) |
protected byte[] |
getColorTable(org.w3c.dom.Node colorTableNode,
java.lang.String entryNodeName,
boolean lengthExpected,
int expectedLength) |
protected static int |
getEnumeratedAttribute(org.w3c.dom.Node node,
java.lang.String name,
java.lang.String[] legalNames) |
protected static int |
getEnumeratedAttribute(org.w3c.dom.Node node,
java.lang.String name,
java.lang.String[] legalNames,
int defaultValue,
boolean required) |
protected static float |
getFloatAttribute(org.w3c.dom.Node node,
java.lang.String name) |
protected static float |
getFloatAttribute(org.w3c.dom.Node node,
java.lang.String name,
float defaultValue,
boolean required) |
protected static int |
getIntAttribute(org.w3c.dom.Node node,
java.lang.String name,
boolean bounded,
int min,
int max) |
protected static int |
getIntAttribute(org.w3c.dom.Node node,
java.lang.String name,
int defaultValue,
boolean required,
boolean bounded,
int min,
int max) |
javax.imageio.metadata.IIOMetadataNode |
getStandardChromaNode() |
javax.imageio.metadata.IIOMetadataNode |
getStandardCompressionNode() |
javax.imageio.metadata.IIOMetadataNode |
getStandardDataNode() |
javax.imageio.metadata.IIOMetadataNode |
getStandardDimensionNode() |
javax.imageio.metadata.IIOMetadataNode |
getStandardDocumentNode() |
javax.imageio.metadata.IIOMetadataNode |
getStandardTextNode() |
javax.imageio.metadata.IIOMetadataNode |
getStandardTransparencyNode() |
protected static java.lang.String |
getStringAttribute(org.w3c.dom.Node node,
java.lang.String name,
java.lang.String defaultValue,
boolean required,
java.lang.String[] range) |
boolean |
isReadOnly() |
protected void |
mergeNativeTree(org.w3c.dom.Node root) |
protected void |
mergeStandardTree(org.w3c.dom.Node root) |
void |
mergeTree(java.lang.String formatName,
org.w3c.dom.Node root) |
void |
reset() |
void |
setFromTree(java.lang.String formatName,
org.w3c.dom.Node root) |
activateController, getController, getDefaultController, getExtraMetadataFormatNames, getMetadataFormat, getMetadataFormatNames, getNativeMetadataFormatName, getStandardTileNode, getStandardTree, hasController, isStandardMetadataFormatSupported, setController
public static final java.lang.String[] versionStrings
public java.lang.String version
public int logicalScreenWidth
public int logicalScreenHeight
public int colorResolution
public int pixelAspectRatio
public int backgroundColorIndex
public boolean sortFlag
public static final java.lang.String[] colorTableSizes
public byte[] globalColorTable
protected GIFStreamMetadata(boolean standardMetadataFormatSupported, java.lang.String nativeMetadataFormatName, java.lang.String nativeMetadataFormatClassName, java.lang.String[] extraMetadataFormatNames, java.lang.String[] extraMetadataFormatClassNames)
public GIFStreamMetadata()
public boolean isReadOnly()
isReadOnly
in class javax.imageio.metadata.IIOMetadata
public org.w3c.dom.Node getAsTree(java.lang.String formatName)
getAsTree
in class javax.imageio.metadata.IIOMetadata
public javax.imageio.metadata.IIOMetadataNode getStandardChromaNode()
getStandardChromaNode
in class javax.imageio.metadata.IIOMetadata
public javax.imageio.metadata.IIOMetadataNode getStandardCompressionNode()
getStandardCompressionNode
in class javax.imageio.metadata.IIOMetadata
public javax.imageio.metadata.IIOMetadataNode getStandardDataNode()
getStandardDataNode
in class javax.imageio.metadata.IIOMetadata
public javax.imageio.metadata.IIOMetadataNode getStandardDimensionNode()
getStandardDimensionNode
in class javax.imageio.metadata.IIOMetadata
public javax.imageio.metadata.IIOMetadataNode getStandardDocumentNode()
getStandardDocumentNode
in class javax.imageio.metadata.IIOMetadata
public javax.imageio.metadata.IIOMetadataNode getStandardTextNode()
getStandardTextNode
in class javax.imageio.metadata.IIOMetadata
public javax.imageio.metadata.IIOMetadataNode getStandardTransparencyNode()
getStandardTransparencyNode
in class javax.imageio.metadata.IIOMetadata
public void setFromTree(java.lang.String formatName, org.w3c.dom.Node root) throws javax.imageio.metadata.IIOInvalidTreeException
setFromTree
in class javax.imageio.metadata.IIOMetadata
javax.imageio.metadata.IIOInvalidTreeException
protected void mergeNativeTree(org.w3c.dom.Node root) throws javax.imageio.metadata.IIOInvalidTreeException
javax.imageio.metadata.IIOInvalidTreeException
protected void mergeStandardTree(org.w3c.dom.Node root) throws javax.imageio.metadata.IIOInvalidTreeException
javax.imageio.metadata.IIOInvalidTreeException
public void reset()
reset
in class javax.imageio.metadata.IIOMetadata
protected static void fatal(org.w3c.dom.Node node, java.lang.String reason) throws javax.imageio.metadata.IIOInvalidTreeException
javax.imageio.metadata.IIOInvalidTreeException
protected static java.lang.String getStringAttribute(org.w3c.dom.Node node, java.lang.String name, java.lang.String defaultValue, boolean required, java.lang.String[] range) throws javax.imageio.metadata.IIOInvalidTreeException
javax.imageio.metadata.IIOInvalidTreeException
protected static int getIntAttribute(org.w3c.dom.Node node, java.lang.String name, int defaultValue, boolean required, boolean bounded, int min, int max) throws javax.imageio.metadata.IIOInvalidTreeException
javax.imageio.metadata.IIOInvalidTreeException
protected static float getFloatAttribute(org.w3c.dom.Node node, java.lang.String name, float defaultValue, boolean required) throws javax.imageio.metadata.IIOInvalidTreeException
javax.imageio.metadata.IIOInvalidTreeException
protected static int getIntAttribute(org.w3c.dom.Node node, java.lang.String name, boolean bounded, int min, int max) throws javax.imageio.metadata.IIOInvalidTreeException
javax.imageio.metadata.IIOInvalidTreeException
protected static float getFloatAttribute(org.w3c.dom.Node node, java.lang.String name) throws javax.imageio.metadata.IIOInvalidTreeException
javax.imageio.metadata.IIOInvalidTreeException
protected static boolean getBooleanAttribute(org.w3c.dom.Node node, java.lang.String name, boolean defaultValue, boolean required) throws javax.imageio.metadata.IIOInvalidTreeException
javax.imageio.metadata.IIOInvalidTreeException
protected static boolean getBooleanAttribute(org.w3c.dom.Node node, java.lang.String name) throws javax.imageio.metadata.IIOInvalidTreeException
javax.imageio.metadata.IIOInvalidTreeException
protected static int getEnumeratedAttribute(org.w3c.dom.Node node, java.lang.String name, java.lang.String[] legalNames, int defaultValue, boolean required) throws javax.imageio.metadata.IIOInvalidTreeException
javax.imageio.metadata.IIOInvalidTreeException
protected static int getEnumeratedAttribute(org.w3c.dom.Node node, java.lang.String name, java.lang.String[] legalNames) throws javax.imageio.metadata.IIOInvalidTreeException
javax.imageio.metadata.IIOInvalidTreeException
protected static java.lang.String getAttribute(org.w3c.dom.Node node, java.lang.String name, java.lang.String defaultValue, boolean required) throws javax.imageio.metadata.IIOInvalidTreeException
javax.imageio.metadata.IIOInvalidTreeException
protected static java.lang.String getAttribute(org.w3c.dom.Node node, java.lang.String name) throws javax.imageio.metadata.IIOInvalidTreeException
javax.imageio.metadata.IIOInvalidTreeException
public void mergeTree(java.lang.String formatName, org.w3c.dom.Node root) throws javax.imageio.metadata.IIOInvalidTreeException
mergeTree
in class javax.imageio.metadata.IIOMetadata
javax.imageio.metadata.IIOInvalidTreeException
protected byte[] getColorTable(org.w3c.dom.Node colorTableNode, java.lang.String entryNodeName, boolean lengthExpected, int expectedLength) throws javax.imageio.metadata.IIOInvalidTreeException
javax.imageio.metadata.IIOInvalidTreeException
Copyright © 2014 Open Microscopy Environment