it.geosolutions.imageio.core
Class CoreCommonImageMetadataFormat

java.lang.Object
  extended by javax.imageio.metadata.IIOMetadataFormatImpl
      extended by it.geosolutions.imageio.core.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 javax.imageio.metadata.IIOMetadataFormatImpl
standardMetadataFormatName
 
Fields inherited from interface javax.imageio.metadata.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 javax.imageio.metadata.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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.imageio.metadata.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–2014 GeoSolutions. All rights reserved.