abstract class GIFMetadata extends IIOMetadata
IIOMetadata
for subclass use.Modifier and Type | Field and Description |
---|---|
(package private) static int |
UNDEFINED_INTEGER_VALUE
Represents an undefined value of integer attributes.
|
controller, defaultController, extraMetadataFormatClassNames, extraMetadataFormatNames, nativeMetadataFormatClassName, nativeMetadataFormatName, standardFormatSupported
Modifier | Constructor and Description |
---|---|
protected |
GIFMetadata(boolean standardMetadataFormatSupported,
String nativeMetadataFormatName,
String nativeMetadataFormatClassName,
String[] extraMetadataFormatNames,
String[] extraMetadataFormatClassNames) |
Modifier and Type | Method and Description |
---|---|
protected static void |
fatal(Node node,
String reason) |
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) |
protected static String |
getStringAttribute(Node node,
String name,
String defaultValue,
boolean required,
String[] range) |
protected abstract void |
mergeNativeTree(Node root) |
protected abstract void |
mergeStandardTree(Node root) |
void |
mergeTree(String formatName,
Node root) |
activateController, getAsTree, getController, getDefaultController, getExtraMetadataFormatNames, getMetadataFormat, getMetadataFormatNames, getNativeMetadataFormatName, getStandardChromaNode, getStandardCompressionNode, getStandardDataNode, getStandardDimensionNode, getStandardDocumentNode, getStandardTextNode, getStandardTileNode, getStandardTransparencyNode, getStandardTree, hasController, isReadOnly, isStandardMetadataFormatSupported, reset, setController, setFromTree
static final int UNDEFINED_INTEGER_VALUE
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
protected abstract void mergeNativeTree(Node root) throws IIOInvalidTreeException
IIOInvalidTreeException
protected abstract void mergeStandardTree(Node root) throws IIOInvalidTreeException
IIOInvalidTreeException
Copyright © 2016 Open Microscopy Environment