it.geosolutions.imageio.core
Class CoreCommonImageMetadataFormat

Object
  extended by IIOMetadataFormatImpl
      extended by CoreCommonImageMetadataFormat
All Implemented Interfaces:
IIOMetadataFormat

public class CoreCommonImageMetadataFormat
extends IIOMetadataFormatImpl
implements IIOMetadataFormat

Class defining the structure of metadata documents describing common image metadata returned from getAsTree method.

Author:
Daniele Romagnoli, GeoSolutions, Simone Giannecchini, GeoSolutions

Field Summary
 
Fields inherited from class IIOMetadataFormatImpl
standardMetadataFormatName
 
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
 
Method Summary
 boolean canNodeAppear(String elementName, ImageTypeSpecifier imageType)
           
static IIOMetadataFormat getInstance()
          Returns an instance of the CoreCommonImageMetadataFormat class.
 
Methods inherited from class IIOMetadataFormatImpl
addAttribute, addAttribute, addAttribute, addAttribute, addBooleanAttribute, addChildElement, addElement, addElement, addObjectValue, addObjectValue, addObjectValue, addObjectValue, getAttributeDataType, getAttributeDefaultValue, getAttributeDescription, getAttributeEnumerations, getAttributeListMaxLength, getAttributeListMinLength, getAttributeMaxValue, getAttributeMinValue, getAttributeNames, getAttributeValueType, getChildNames, getChildPolicy, getElementDescription, getElementMaxChildren, getElementMinChildren, getObjectArrayMaxLength, getObjectArrayMinLength, getObjectClass, getObjectDefaultValue, getObjectEnumerations, getObjectMaxValue, getObjectMinValue, getObjectValueType, getResourceBaseName, getRootName, getStandardFormatInstance, isAttributeRequired, removeAttribute, removeElement, removeObjectValue, setResourceBaseName
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface IIOMetadataFormat
getAttributeDataType, getAttributeDefaultValue, getAttributeDescription, getAttributeEnumerations, getAttributeListMaxLength, getAttributeListMinLength, getAttributeMaxValue, getAttributeMinValue, getAttributeNames, getAttributeValueType, getChildNames, getChildPolicy, getElementDescription, getElementMaxChildren, getElementMinChildren, getObjectArrayMaxLength, getObjectArrayMinLength, getObjectClass, getObjectDefaultValue, getObjectEnumerations, getObjectMaxValue, getObjectMinValue, getObjectValueType, getRootName, isAttributeRequired
 

Method Detail

getInstance

public static IIOMetadataFormat getInstance()
Returns an instance of the CoreCommonImageMetadataFormat class. We build only a single instance and we cache it for future uses.

Returns:
an instance of the CoreCommonImageMetadataFormat class.

canNodeAppear

public boolean canNodeAppear(String elementName,
                             ImageTypeSpecifier imageType)
Specified by:
canNodeAppear in interface IIOMetadataFormat
Specified by:
canNodeAppear in class IIOMetadataFormatImpl
See Also:
TODO we should implement this


Copyright © 2006-2010 GeoSolutions. All Rights Reserved.