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, setFromTreestatic final int UNDEFINED_INTEGER_VALUE
protected static void fatal(Node node, String reason) throws IIOInvalidTreeException
IIOInvalidTreeExceptionprotected static String getStringAttribute(Node node, String name, String defaultValue, boolean required, String[] range) throws IIOInvalidTreeException
IIOInvalidTreeExceptionprotected static int getIntAttribute(Node node, String name, int defaultValue, boolean required, boolean bounded, int min, int max) throws IIOInvalidTreeException
IIOInvalidTreeExceptionprotected static float getFloatAttribute(Node node, String name, float defaultValue, boolean required) throws IIOInvalidTreeException
IIOInvalidTreeExceptionprotected static int getIntAttribute(Node node, String name, boolean bounded, int min, int max) throws IIOInvalidTreeException
IIOInvalidTreeExceptionprotected static float getFloatAttribute(Node node, String name) throws IIOInvalidTreeException
IIOInvalidTreeExceptionprotected static boolean getBooleanAttribute(Node node, String name, boolean defaultValue, boolean required) throws IIOInvalidTreeException
IIOInvalidTreeExceptionprotected static boolean getBooleanAttribute(Node node, String name) throws IIOInvalidTreeException
IIOInvalidTreeExceptionprotected static int getEnumeratedAttribute(Node node, String name, String[] legalNames, int defaultValue, boolean required) throws IIOInvalidTreeException
IIOInvalidTreeExceptionprotected static int getEnumeratedAttribute(Node node, String name, String[] legalNames) throws IIOInvalidTreeException
IIOInvalidTreeExceptionprotected static String getAttribute(Node node, String name, String defaultValue, boolean required) throws IIOInvalidTreeException
IIOInvalidTreeExceptionprotected static String getAttribute(Node node, String name) throws IIOInvalidTreeException
IIOInvalidTreeExceptionpublic void mergeTree(String formatName, Node root) throws IIOInvalidTreeException
mergeTree in class IIOMetadataIIOInvalidTreeExceptionprotected byte[] getColorTable(Node colorTableNode, String entryNodeName, boolean lengthExpected, int expectedLength) throws IIOInvalidTreeException
IIOInvalidTreeExceptionprotected abstract void mergeNativeTree(Node root) throws IIOInvalidTreeException
IIOInvalidTreeExceptionprotected abstract void mergeStandardTree(Node root) throws IIOInvalidTreeException
IIOInvalidTreeExceptionCopyright © 2016 Open Microscopy Environment