API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.imageio.metadata. IIOMetadataFormat View Source
Author(s)
Since
Version
0.5
Serial
Hierarchy
 IIOMetadataFormat
Subinterfaces
Description
public interface IIOMetadataFormat
  An object describing the structure of metadata documents returned from IIOMetadata.getAsTree and passed to IIOMetadata.setFromTree and mergeTree.
See also:   
Methods
Hide/Show inherited methods
public boolean canNodeAppear (String elementName, ImageTypeSpecifier imageType)
  Returns true if the element (and the subtree below it) is allowed to appear in a metadata document for an image of the given type, defined by an ImageTypeSpecifier.
public int getAttributeDataType (String elementName, String attrName)
  Returns one of the constants starting with DATATYPE_, indicating the format and interpretation of the value of the given attribute within th enamed element.
public String getAttributeDefaultValue (String elementName, String attrName)
  Returns the default value of the named attribute, if it is not explictly present within the named element, as a String, or null if no default value is available.
public String getAttributeDescription (String elementName, String attrName, Locale locale)
  Returns a String containing a description of the named attribute, or null.
public String getAttributeEnumerations (String elementName, String attrName)
  Returns an array of Strings containing the legal enumerated values for the given attribute within the named element.
public int getAttributeListMaxLength (String elementName, String attrName)
  Returns the maximum number of list items that may be used to define this attribute.
public int getAttributeListMinLength (String elementName, String attrName)
  Returns the minimum number of list items that may be used to define this attribute.
public String getAttributeMaxValue (String elementName, String attrName)
  Returns the maximum legal value for the attribute.
public String getAttributeMinValue (String elementName, String attrName)
  Returns the minimum legal value for the attribute.
public String getAttributeNames (String elementName)
  Returns an array of Strings listing the names of the attributes that may be associated with the named element.
public int getAttributeValueType (String elementName, String attrName)
  Returns one of the constants starting with VALUE_, indicating whether the values of the given attribute within the named element are arbitrary, constrained to lie within a specified range, constrained to be one of a set of enumerated values, or are a whitespace-separated list of arbitrary values.
public String getChildNames (String elementName)
  Returns an array of Strings indicating the names of the element which are allowed to be children of the named element, in the order in which they should appear.
public int getChildPolicy (String elementName)
  Returns one of the constants starting with CHILD_POLICY_, indicating the legal pattern of children for the named element.
public String getElementDescription (String elementName, Locale locale)
  Returns a String containing a description of the named element, or null.
public int getElementMaxChildren (String elementName)
  Returns the maximum number of children of the named element with child policy CHILD_POLICY_REPEAT.
public int getElementMinChildren (String elementName)
  Returns the minimum number of children of the named element with child policy CHILD_POLICY_REPEAT.
public int getObjectArrayMaxLength (String elementName)
  Returns the maximum number of array elements that may be used to define the Object reference within the named element.
public int getObjectArrayMinLength (String elementName)
  Returns the minimum number of array elements that may be used to define the Object reference within the named element.
public Class<Object> getObjectClass (String elementName)
  Returns the Class type of the Object reference stored within the element.
public Object getObjectDefaultValue (String elementName)
  Returns an Objects containing the default value for the Object reference within the named element.
public Object getObjectEnumerations (String elementName)
  Returns an array of Objects containing the legal enumerated values for the Object reference within the named element.
public Comparable<Object> getObjectMaxValue (String elementName)
  Returns the maximum legal value for the Object reference within the named element.
public Comparable<Object> getObjectMinValue (String elementName)
  Returns the minimum legal value for the Object reference within the named element.
public int getObjectValueType (String elementName)
  Returns one of the enumerated values starting with VALUE_, indicating the type of values (enumeration, range, or array) that are allowed for the Object reference.
public String getRootName ()
  Returns the name of the root element of the format.
public boolean isAttributeRequired (String elementName, String attrName)
  Returns true if the named attribute must be present within the named element.
Fields
Hide/Show inherited fields
publicfinalstatic int CHILD_POLICY_ALL = "1"
  A constant returned by getChildPolicy to indicate that an element must have a single instance of each of its legal child elements, in order.
publicfinalstatic int CHILD_POLICY_CHOICE = "3"
  A constant returned by getChildPolicy to indicate that an element must have zero or one children, selected from among its legal child elements.
publicfinalstatic int CHILD_POLICY_EMPTY = "0"
  A constant returned by getChildPolicy to indicate that an element may not have any children.
publicfinalstatic int CHILD_POLICY_MAX = "5"
The largest valid CHILD_POLICY_* constant, to be used for range checks.
publicfinalstatic int CHILD_POLICY_REPEAT = "5"
  A constant returned by getChildPolicy to indicate that an element must have zero or more instances of its unique legal child element.
publicfinalstatic int CHILD_POLICY_SEQUENCE = "4"
  A constant returned by getChildPolicy to indicate that an element must have a sequence of instances of any of its legal child elements.
publicfinalstatic int CHILD_POLICY_SOME = "2"
  A constant returned by getChildPolicy to indicate that an element must have zero or one instance of each of its legal child elements, in order.
publicfinalstatic int DATATYPE_BOOLEAN = "1"
A constant returned by getAttributeDataType indicating that the value of an attribute is one of 'true' or 'false'.
publicfinalstatic int DATATYPE_DOUBLE = "4"
A constant returned by getAttributeDataType indicating that the value of an attribute is a string representation of a double-precision decimal floating-point number.
publicfinalstatic int DATATYPE_FLOAT = "3"
A constant returned by getAttributeDataType indicating that the value of an attribute is a string representation of a decimal floating-point number.
publicfinalstatic int DATATYPE_INTEGER = "2"
A constant returned by getAttributeDataType indicating that the value of an attribute is a string representation of an integer.
publicfinalstatic int DATATYPE_STRING = "0"
A constant returned by getAttributeDataType indicating that the value of an attribute is a general Unicode string.
publicfinalstatic int VALUE_ARBITRARY = "1"
A constant returned by getAttributeValueType and getObjectValueType to indicate that the attribute or user object may be set a single, arbitrary value.
publicfinalstatic int VALUE_ENUMERATION = "16"
  A constant returned by getAttributeValueType and getObjectValueType to indicate that the attribute or user object may be set one of a number of enumerated values.
publicfinalstatic int VALUE_LIST = "32"
  A constant returned by getAttributeValueType and getObjectValueType to indicate that the attribute or user object may be set to a list or array of values.
publicfinalstatic int VALUE_NONE = "0"
A constant returned by getObjectValueType to indicate the absence of a user object.
publicfinalstatic int VALUE_RANGE = "2"
  A constant returned by getAttributeValueType and getObjectValueType to indicate that the attribute or user object may be set a range of values.
publicfinalstatic int VALUE_RANGE_MAX_INCLUSIVE = "10"
  A constant returned by getAttributeValueType and getObjectValueType to indicate that the attribute or user object may be set to a range of values.
publicfinalstatic int VALUE_RANGE_MAX_INCLUSIVE_MASK = "8"
  A value that may be or'ed with VALUE_RANGE to obtain VALUE_RANGE_MAX_INCLUSIVE, and with VALUE_RANGE_MIN_INCLUSIVE to obtain VALUE_RANGE_MIN_MAX_INCLUSIVE.
publicfinalstatic int VALUE_RANGE_MIN_INCLUSIVE = "6"
  A constant returned by getAttributeValueType and getObjectValueType to indicate that the attribute or user object may be set to a range of values.
publicfinalstatic int VALUE_RANGE_MIN_INCLUSIVE_MASK = "4"
  A value that may be or'ed with VALUE_RANGE to obtain VALUE_RANGE_MIN_INCLUSIVE, and with VALUE_RANGE_MAX_INCLUSIVE to obtain VALUE_RANGE_MIN_MAX_INCLUSIVE.
publicfinalstatic int VALUE_RANGE_MIN_MAX_INCLUSIVE = "14"
  A constant returned by getAttributeValueType and getObjectValueType to indicate that the attribute or user object may be set a range of values.
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar