javax.imageio.metadata

Interface IIOMetadataFormat

Known Implementing Classes:
IIOMetadataFormatImpl

public interface IIOMetadataFormat

Field Summary

static int
CHILD_POLICY_ALL
static int
CHILD_POLICY_CHOICE
static int
CHILD_POLICY_EMPTY
static int
CHILD_POLICY_MAX
static int
CHILD_POLICY_REPEAT
static int
CHILD_POLICY_SEQUENCE
static int
CHILD_POLICY_SOME
static int
DATATYPE_BOOLEAN
static int
DATATYPE_DOUBLE
static int
DATATYPE_FLOAT
static int
DATATYPE_INTEGER
static int
DATATYPE_STRING
static int
VALUE_ARBITRARY
static int
VALUE_ENUMERATION
static int
VALUE_LIST
static int
VALUE_NONE
static int
VALUE_RANGE
static int
VALUE_RANGE_MAX_INCLUSIVE
static int
VALUE_RANGE_MAX_INCLUSIVE_MASK
static int
VALUE_RANGE_MIN_INCLUSIVE
static int
VALUE_RANGE_MIN_INCLUSIVE_MASK
static int
VALUE_RANGE_MIN_MAX_INCLUSIVE

Method Summary

boolean
canNodeAppear(String elementName, ImageTypeSpecifier imageType)
int
getAttributeDataType(String elementName, String attrName)
String
getAttributeDefaultValue(String elementName, String attrName)
String
getAttributeDescription(String elementName, String attrName, Locale locale)
String[]
getAttributeEnumerations(String elementName, String attrName)
int
getAttributeListMaxLength(String elementName, String attrName)
int
getAttributeListMinLength(String elementName, String attrName)
String
getAttributeMaxValue(String elementName, String attrName)
String
getAttributeMinValue(String elementName, String attrName)
String[]
getAttributeNames(String elementName)
int
getAttributeValueType(String elementName, String attrName)
String[]
getChildNames(String elementName)
int
getChildPolicy(String elementName)
String
getElementDescription(String elementName, Locale locale)
int
getElementMaxChildren(String elementName)
int
getElementMinChildren(String elementName)
int
getObjectArrayMaxLength(String elementName)
int
getObjectArrayMinLength(String elementName)
Class
getObjectClass(String elementName)
Object
getObjectDefaultValue(String elementName)
Object[]
getObjectEnumerations(String elementName)
Comparable
getObjectMaxValue(String elementName)
Comparable
getObjectMinValue(String elementName)
int
getObjectValueType(String elementName)
String
getRootName()
boolean
isAttributeRequired(String elementName, String attrName)

Field Details

CHILD_POLICY_ALL

public static final int CHILD_POLICY_ALL
Field Value:
1

CHILD_POLICY_CHOICE

public static final int CHILD_POLICY_CHOICE
Field Value:
3

CHILD_POLICY_EMPTY

public static final int CHILD_POLICY_EMPTY
Field Value:
0

CHILD_POLICY_MAX

public static final int CHILD_POLICY_MAX
Field Value:
5

CHILD_POLICY_REPEAT

public static final int CHILD_POLICY_REPEAT
Field Value:
5

CHILD_POLICY_SEQUENCE

public static final int CHILD_POLICY_SEQUENCE
Field Value:
4

CHILD_POLICY_SOME

public static final int CHILD_POLICY_SOME
Field Value:
2

DATATYPE_BOOLEAN

public static final int DATATYPE_BOOLEAN
Field Value:
1

DATATYPE_DOUBLE

public static final int DATATYPE_DOUBLE
Field Value:
4

DATATYPE_FLOAT

public static final int DATATYPE_FLOAT
Field Value:
3

DATATYPE_INTEGER

public static final int DATATYPE_INTEGER
Field Value:
2

DATATYPE_STRING

public static final int DATATYPE_STRING
Field Value:
0

VALUE_ARBITRARY

public static final int VALUE_ARBITRARY
Field Value:
1

VALUE_ENUMERATION

public static final int VALUE_ENUMERATION
Field Value:
16

VALUE_LIST

public static final int VALUE_LIST
Field Value:
32

VALUE_NONE

public static final int VALUE_NONE
Field Value:
0

VALUE_RANGE

public static final int VALUE_RANGE
Field Value:
2

VALUE_RANGE_MAX_INCLUSIVE

public static final int VALUE_RANGE_MAX_INCLUSIVE
Field Value:
10

VALUE_RANGE_MAX_INCLUSIVE_MASK

public static final int VALUE_RANGE_MAX_INCLUSIVE_MASK
Field Value:
8

VALUE_RANGE_MIN_INCLUSIVE

public static final int VALUE_RANGE_MIN_INCLUSIVE
Field Value:
6

VALUE_RANGE_MIN_INCLUSIVE_MASK

public static final int VALUE_RANGE_MIN_INCLUSIVE_MASK
Field Value:
4

VALUE_RANGE_MIN_MAX_INCLUSIVE

public static final int VALUE_RANGE_MIN_MAX_INCLUSIVE
Field Value:
14

Method Details

canNodeAppear

public boolean canNodeAppear(String elementName,
                             ImageTypeSpecifier imageType)

getAttributeDataType

public int getAttributeDataType(String elementName,
                                String attrName)

getAttributeDefaultValue

public String getAttributeDefaultValue(String elementName,
                                       String attrName)

getAttributeDescription

public String getAttributeDescription(String elementName,
                                      String attrName,
                                      Locale locale)

getAttributeEnumerations

public String[] getAttributeEnumerations(String elementName,
                                         String attrName)

getAttributeListMaxLength

public int getAttributeListMaxLength(String elementName,
                                     String attrName)

getAttributeListMinLength

public int getAttributeListMinLength(String elementName,
                                     String attrName)

getAttributeMaxValue

public String getAttributeMaxValue(String elementName,
                                   String attrName)

getAttributeMinValue

public String getAttributeMinValue(String elementName,
                                   String attrName)

getAttributeNames

public String[] getAttributeNames(String elementName)

getAttributeValueType

public int getAttributeValueType(String elementName,
                                 String attrName)

getChildNames

public String[] getChildNames(String elementName)

getChildPolicy

public int getChildPolicy(String elementName)

getElementDescription

public String getElementDescription(String elementName,
                                    Locale locale)

getElementMaxChildren

public int getElementMaxChildren(String elementName)

getElementMinChildren

public int getElementMinChildren(String elementName)

getObjectArrayMaxLength

public int getObjectArrayMaxLength(String elementName)

getObjectArrayMinLength

public int getObjectArrayMinLength(String elementName)

getObjectClass

public Class getObjectClass(String elementName)

getObjectDefaultValue

public Object getObjectDefaultValue(String elementName)

getObjectEnumerations

public Object[] getObjectEnumerations(String elementName)

getObjectMaxValue

public Comparable getObjectMaxValue(String elementName)

getObjectMinValue

public Comparable getObjectMinValue(String elementName)

getObjectValueType

public int getObjectValueType(String elementName)

getRootName

public String getRootName()

isAttributeRequired

public boolean isAttributeRequired(String elementName,
                                   String attrName)

IIOMetadataFormat.java -- Copyright (C) 2004 Free Software Foundation, Inc. This file is part of GNU Classpath. GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and conditions of the GNU General Public License cover the whole combination. As a special exception, the copyright holders of this library give you permission to link this library with independent modules to produce an executable, regardless of the license terms of these independent modules, and to copy and distribute the resulting executable under terms of your choice, provided that you also meet, for each linked independent module, the terms and conditions of the license of that module. An independent module is a module which is not derived from or based on this library. If you modify this library, you may extend this exception to your version of the library, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version.