FileDocCategorySizeDatePackage
IIOMetadataFormat.javaAPI DocAndroid 1.5 API10905Wed May 06 22:41:54 BST 2009javax.imageio.metadata

IIOMetadataFormat

public interface IIOMetadataFormat
The Interface IIOMetadataFormat is implemented by classes that describe the rules and allowed elements for a metadata document tree.
since
Android 1.0

Fields Summary
int
CHILD_POLICY_EMPTY
The CHILD_POLICY_EMPTY.
int
CHILD_POLICY_ALL
The CHILD_POLICY_ALL.
int
CHILD_POLICY_SOME
The CHILD_POLICY_SOME.
int
CHILD_POLICY_CHOICE
The CHILD_POLICY_CHOICE.
int
CHILD_POLICY_SEQUENCE
The CHILD_POLICY_SEQUENCE.
int
CHILD_POLICY_REPEAT
The CHILD_POLICY_REPEAT.
int
CHILD_POLICY_MAX
The maximum value for the child policy.
int
DATATYPE_STRING
The DATATYPE_STRING.
int
DATATYPE_BOOLEAN
The DATATYPE_BOOLEAN.
int
DATATYPE_INTEGER
The DATATYPE_INTEGER.
int
DATATYPE_FLOAT
The DATATYPE_FLOAT.
int
DATATYPE_DOUBLE
The DATATYPE_DOUBLE.
int
VALUE_NONE
The VALUE_NONE.
int
VALUE_ARBITRARY
The VALUE_ARBITRARY.
int
VALUE_RANGE
The VALUE_RANGE.
int
VALUE_RANGE_MIN_INCLUSIVE_MASK
The VALUE_RANGE_MIN_INCLUSIVE_MASK.
int
VALUE_RANGE_MAX_INCLUSIVE_MASK
The VALUE_RANGE_MAX_INCLUSIVE_MASK.
int
VALUE_ENUMERATION
The VALUE_ENUMERATION.
int
VALUE_LIST
The VALUE_LIST.
int
VALUE_RANGE_MIN_INCLUSIVE
The VALUE_RANGE_MIN_INCLUSIVE.
int
VALUE_RANGE_MAX_INCLUSIVE
The VALUE_RANGE_MAX_INCLUSIVE.
int
VALUE_RANGE_MIN_MAX_INCLUSIVE
The VALUE_RANGE_MIN_MAX_INCLUSIVE.
Constructors Summary
Methods Summary
public booleancanNodeAppear(java.lang.String elementName, javax.imageio.ImageTypeSpecifier imageType)
Tells whether the specified element is allowed for the specified image type.

param
elementName the element name.
param
imageType the image type.
return
true, if the specified element is allowed for the specified image type.

public intgetAttributeDataType(java.lang.String elementName, java.lang.String attrName)
Gets data type of the specified attribute of the specified element.

param
elementName the element name.
param
attrName the attribute name.
return
the attribute's data type.

public java.lang.StringgetAttributeDefaultValue(java.lang.String elementName, java.lang.String attrName)
Gets the default value of the specified attribute of the specified element.

param
elementName the element name.
param
attrName the attribute name.
return
the attribute's default value.

public java.lang.StringgetAttributeDescription(java.lang.String elementName, java.lang.String attrName, java.util.Locale locale)
Gets the user-friendly description of the attribute.

param
elementName the element name.
param
attrName the attribute name.
param
locale the locale giving the desired language for the description.
return
the attribute description.

public java.lang.String[]getAttributeEnumerations(java.lang.String elementName, java.lang.String attrName)
Gets the attribute enumerations.

param
elementName the element name.
param
attrName the attribute name.
return
the attribute enumerations.

public intgetAttributeListMaxLength(java.lang.String elementName, java.lang.String attrName)
Gets the maximum length of the attribute list.

param
elementName the element name.
param
attrName the attribute name.
return
the maximum length of the attribute list.

public intgetAttributeListMinLength(java.lang.String elementName, java.lang.String attrName)
Gets the minimum length of the attribute list.

param
elementName the element name.
param
attrName the attribute name.
return
the minimum length of the attribute list.

public java.lang.StringgetAttributeMaxValue(java.lang.String elementName, java.lang.String attrName)
Gets the maximum value allowed for the attribute.

param
elementName the element name.
param
attrName the attribute name.
return
the maximum value allowed for the attribute.

public java.lang.StringgetAttributeMinValue(java.lang.String elementName, java.lang.String attrName)
Gets the minimum value allowed for the attribute.

param
elementName the element name.
param
attrName the attribute name.
return
the minimum value allowed for the attribute.

public java.lang.String[]getAttributeNames(java.lang.String elementName)
Gets the attribute names allowed for the specified element.

param
elementName the element name.
return
the attribute names.

public intgetAttributeValueType(java.lang.String elementName, java.lang.String attrName)
Gets the attribute value type.

param
elementName the element name.
param
attrName the attribute name.
return
the attribute value type.

public java.lang.String[]getChildNames(java.lang.String elementName)
Gets the names of the possible child elements for the given element.

param
elementName the element name.
return
the child names.

public intgetChildPolicy(java.lang.String elementName)
Gets the constant describing the element's child policy.

param
elementName the element name.
return
the child policy.

public java.lang.StringgetElementDescription(java.lang.String elementName, java.util.Locale locale)
Gets the user-friendly description of the element.

param
elementName the element name.
param
locale the locale giving the desired language for the description.
return
the element description.

public intgetElementMaxChildren(java.lang.String elementName)
Gets the maximum number of children allowed for the element.

param
elementName the element name.
return
the maximum number of children allowed for the element.

public intgetElementMinChildren(java.lang.String elementName)
Gets the minimum number of children allowed for the element.

param
elementName the element name.
return
the minimum number of children allowed for the element.

public intgetObjectArrayMaxLength(java.lang.String elementName)
Gets the maximum object array length allowed for the element.

param
elementName the element name.
return
the maximum object array length allowed for the element.

public intgetObjectArrayMinLength(java.lang.String elementName)
Gets the minimum object array length allowed for the element.

param
elementName the element name.
return
the minimum object array length allowed for the element.

public java.lang.ClassgetObjectClass(java.lang.String elementName)
Gets the object class corresponding to the specified element.

param
elementName the element name.
return
the object class corresponding to the specified element.

public java.lang.ObjectgetObjectDefaultValue(java.lang.String elementName)
Gets the object default value for the element.

param
elementName the element name.
return
the object default value for the element.

public java.lang.Object[]getObjectEnumerations(java.lang.String elementName)
Gets the object enumerations.

param
elementName the element name.
return
the object enumerations.

public java.lang.ComparablegetObjectMaxValue(java.lang.String elementName)
Gets the maximum value allowed for the element's object.

param
elementName the element name.
return
the maximum value allowed for the element's object.

public java.lang.ComparablegetObjectMinValue(java.lang.String elementName)
Gets the minimum value allowed for the element's object.

param
elementName the element name.
return
the minimum value allowed for the element's object.

public intgetObjectValueType(java.lang.String elementName)
Gets the constant that indicates the type of the element's value.

param
elementName the element name.
return
the constant that indicates the type of the element's value.

public java.lang.StringgetRootName()
Gets the name of the root element.

return
the name of the root element.

public booleanisAttributeRequired(java.lang.String elementName, java.lang.String attrName)
Checks whether the specified attribute is required for the specified element.

param
elementName the element name.
param
attrName the attribute name.
return
true, if the specified attribute is required for the specified element.