it.geosolutions.imageioimpl.plugins.tiff
Class TIFFMetadataFormat

Object
  extended by TIFFMetadataFormat
All Implemented Interfaces:
IIOMetadataFormat
Direct Known Subclasses:
TIFFImageMetadataFormat, TIFFStreamMetadataFormat

public abstract class TIFFMetadataFormat
extends Object
implements IIOMetadataFormat


Field Summary
protected  Map attrInfoMap
           
protected  Map elementInfoMap
           
protected  String resourceBaseName
           
protected  String rootName
           
 
Fields inherited from interface 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
TIFFMetadataFormat()
           
 
Method Summary
 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)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface IIOMetadataFormat
canNodeAppear
 

Field Detail

elementInfoMap

protected Map elementInfoMap

attrInfoMap

protected Map attrInfoMap

resourceBaseName

protected String resourceBaseName

rootName

protected String rootName
Constructor Detail

TIFFMetadataFormat

public TIFFMetadataFormat()
Method Detail

getRootName

public String getRootName()
Specified by:
getRootName in interface IIOMetadataFormat

getElementMinChildren

public int getElementMinChildren(String elementName)
Specified by:
getElementMinChildren in interface IIOMetadataFormat

getElementMaxChildren

public int getElementMaxChildren(String elementName)
Specified by:
getElementMaxChildren in interface IIOMetadataFormat

getElementDescription

public String getElementDescription(String elementName,
                                    Locale locale)
Specified by:
getElementDescription in interface IIOMetadataFormat

getChildPolicy

public int getChildPolicy(String elementName)
Specified by:
getChildPolicy in interface IIOMetadataFormat

getChildNames

public String[] getChildNames(String elementName)
Specified by:
getChildNames in interface IIOMetadataFormat

getAttributeNames

public String[] getAttributeNames(String elementName)
Specified by:
getAttributeNames in interface IIOMetadataFormat

getAttributeValueType

public int getAttributeValueType(String elementName,
                                 String attrName)
Specified by:
getAttributeValueType in interface IIOMetadataFormat

getAttributeDataType

public int getAttributeDataType(String elementName,
                                String attrName)
Specified by:
getAttributeDataType in interface IIOMetadataFormat

isAttributeRequired

public boolean isAttributeRequired(String elementName,
                                   String attrName)
Specified by:
isAttributeRequired in interface IIOMetadataFormat

getAttributeDefaultValue

public String getAttributeDefaultValue(String elementName,
                                       String attrName)
Specified by:
getAttributeDefaultValue in interface IIOMetadataFormat

getAttributeEnumerations

public String[] getAttributeEnumerations(String elementName,
                                         String attrName)
Specified by:
getAttributeEnumerations in interface IIOMetadataFormat

getAttributeMinValue

public String getAttributeMinValue(String elementName,
                                   String attrName)
Specified by:
getAttributeMinValue in interface IIOMetadataFormat

getAttributeMaxValue

public String getAttributeMaxValue(String elementName,
                                   String attrName)
Specified by:
getAttributeMaxValue in interface IIOMetadataFormat

getAttributeListMinLength

public int getAttributeListMinLength(String elementName,
                                     String attrName)
Specified by:
getAttributeListMinLength in interface IIOMetadataFormat

getAttributeListMaxLength

public int getAttributeListMaxLength(String elementName,
                                     String attrName)
Specified by:
getAttributeListMaxLength in interface IIOMetadataFormat

getAttributeDescription

public String getAttributeDescription(String elementName,
                                      String attrName,
                                      Locale locale)
Specified by:
getAttributeDescription in interface IIOMetadataFormat

getObjectValueType

public int getObjectValueType(String elementName)
Specified by:
getObjectValueType in interface IIOMetadataFormat

getObjectClass

public Class getObjectClass(String elementName)
Specified by:
getObjectClass in interface IIOMetadataFormat

getObjectDefaultValue

public Object getObjectDefaultValue(String elementName)
Specified by:
getObjectDefaultValue in interface IIOMetadataFormat

getObjectEnumerations

public Object[] getObjectEnumerations(String elementName)
Specified by:
getObjectEnumerations in interface IIOMetadataFormat

getObjectMinValue

public Comparable getObjectMinValue(String elementName)
Specified by:
getObjectMinValue in interface IIOMetadataFormat

getObjectMaxValue

public Comparable getObjectMaxValue(String elementName)
Specified by:
getObjectMaxValue in interface IIOMetadataFormat

getObjectArrayMinLength

public int getObjectArrayMinLength(String elementName)
Specified by:
getObjectArrayMinLength in interface IIOMetadataFormat

getObjectArrayMaxLength

public int getObjectArrayMaxLength(String elementName)
Specified by:
getObjectArrayMaxLength in interface IIOMetadataFormat


Copyright © 2006-2010 GeoSolutions. All Rights Reserved.