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