Class TIFFMetadataFormat
- java.lang.Object
-
- com.sun.media.imageioimpl.plugins.tiff.TIFFMetadataFormat
-
- All Implemented Interfaces:
IIOMetadataFormat
- Direct Known Subclasses:
TIFFImageMetadataFormat
,TIFFStreamMetadataFormat
public abstract class TIFFMetadataFormat extends Object implements IIOMetadataFormat
-
-
Field Summary
Fields Modifier and Type Field Description protected Map
attrInfoMap
protected Map
elementInfoMap
protected String
resourceBaseName
protected String
rootName
-
Fields inherited from interface javax.imageio.metadata.IIOMetadataFormat
CHILD_POLICY_ALL, CHILD_POLICY_CHOICE, CHILD_POLICY_EMPTY, CHILD_POLICY_MAX, CHILD_POLICY_REPEAT, CHILD_POLICY_SEQUENCE, CHILD_POLICY_SOME, DATATYPE_BOOLEAN, DATATYPE_DOUBLE, DATATYPE_FLOAT, DATATYPE_INTEGER, DATATYPE_STRING, VALUE_ARBITRARY, VALUE_ENUMERATION, VALUE_LIST, VALUE_NONE, VALUE_RANGE, VALUE_RANGE_MAX_INCLUSIVE, VALUE_RANGE_MAX_INCLUSIVE_MASK, VALUE_RANGE_MIN_INCLUSIVE, VALUE_RANGE_MIN_INCLUSIVE_MASK, VALUE_RANGE_MIN_MAX_INCLUSIVE
-
-
Constructor Summary
Constructors Constructor Description TIFFMetadataFormat()
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface javax.imageio.metadata.IIOMetadataFormat
canNodeAppear
-
-
-
-
Method Detail
-
getRootName
public String getRootName()
- Specified by:
getRootName
in interfaceIIOMetadataFormat
-
getElementMinChildren
public int getElementMinChildren(String elementName)
- Specified by:
getElementMinChildren
in interfaceIIOMetadataFormat
-
getElementMaxChildren
public int getElementMaxChildren(String elementName)
- Specified by:
getElementMaxChildren
in interfaceIIOMetadataFormat
-
getElementDescription
public String getElementDescription(String elementName, Locale locale)
- Specified by:
getElementDescription
in interfaceIIOMetadataFormat
-
getChildPolicy
public int getChildPolicy(String elementName)
- Specified by:
getChildPolicy
in interfaceIIOMetadataFormat
-
getChildNames
public String[] getChildNames(String elementName)
- Specified by:
getChildNames
in interfaceIIOMetadataFormat
-
getAttributeNames
public String[] getAttributeNames(String elementName)
- Specified by:
getAttributeNames
in interfaceIIOMetadataFormat
-
getAttributeValueType
public int getAttributeValueType(String elementName, String attrName)
- Specified by:
getAttributeValueType
in interfaceIIOMetadataFormat
-
getAttributeDataType
public int getAttributeDataType(String elementName, String attrName)
- Specified by:
getAttributeDataType
in interfaceIIOMetadataFormat
-
isAttributeRequired
public boolean isAttributeRequired(String elementName, String attrName)
- Specified by:
isAttributeRequired
in interfaceIIOMetadataFormat
-
getAttributeDefaultValue
public String getAttributeDefaultValue(String elementName, String attrName)
- Specified by:
getAttributeDefaultValue
in interfaceIIOMetadataFormat
-
getAttributeEnumerations
public String[] getAttributeEnumerations(String elementName, String attrName)
- Specified by:
getAttributeEnumerations
in interfaceIIOMetadataFormat
-
getAttributeMinValue
public String getAttributeMinValue(String elementName, String attrName)
- Specified by:
getAttributeMinValue
in interfaceIIOMetadataFormat
-
getAttributeMaxValue
public String getAttributeMaxValue(String elementName, String attrName)
- Specified by:
getAttributeMaxValue
in interfaceIIOMetadataFormat
-
getAttributeListMinLength
public int getAttributeListMinLength(String elementName, String attrName)
- Specified by:
getAttributeListMinLength
in interfaceIIOMetadataFormat
-
getAttributeListMaxLength
public int getAttributeListMaxLength(String elementName, String attrName)
- Specified by:
getAttributeListMaxLength
in interfaceIIOMetadataFormat
-
getAttributeDescription
public String getAttributeDescription(String elementName, String attrName, Locale locale)
- Specified by:
getAttributeDescription
in interfaceIIOMetadataFormat
-
getObjectValueType
public int getObjectValueType(String elementName)
- Specified by:
getObjectValueType
in interfaceIIOMetadataFormat
-
getObjectClass
public Class getObjectClass(String elementName)
- Specified by:
getObjectClass
in interfaceIIOMetadataFormat
-
getObjectDefaultValue
public Object getObjectDefaultValue(String elementName)
- Specified by:
getObjectDefaultValue
in interfaceIIOMetadataFormat
-
getObjectEnumerations
public Object[] getObjectEnumerations(String elementName)
- Specified by:
getObjectEnumerations
in interfaceIIOMetadataFormat
-
getObjectMinValue
public Comparable getObjectMinValue(String elementName)
- Specified by:
getObjectMinValue
in interfaceIIOMetadataFormat
-
getObjectMaxValue
public Comparable getObjectMaxValue(String elementName)
- Specified by:
getObjectMaxValue
in interfaceIIOMetadataFormat
-
getObjectArrayMinLength
public int getObjectArrayMinLength(String elementName)
- Specified by:
getObjectArrayMinLength
in interfaceIIOMetadataFormat
-
getObjectArrayMaxLength
public int getObjectArrayMaxLength(String elementName)
- Specified by:
getObjectArrayMaxLength
in interfaceIIOMetadataFormat
-
-