it.geosolutions.imageio.core
Class CoreCommonIIOStreamMetadataFormat

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

public class CoreCommonIIOStreamMetadataFormat
extends IIOMetadataFormatImpl

Class defining the structure of metadata documents describing common stream 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 CoreCommonIIOStreamMetadataFormat 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
 

Method Detail

getInstance

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

Returns:
an instance of the CoreCommonIIOStreamMetadataFormat class.

canNodeAppear

public boolean canNodeAppear(String elementName,
                             ImageTypeSpecifier imageType)
Specified by:
canNodeAppear in interface IIOMetadataFormat
Specified by:
canNodeAppear in class IIOMetadataFormatImpl
See Also:
IIOMetadataFormatImpl.canNodeAppear(java.lang.String, javax.imageio.ImageTypeSpecifier)


Copyright © 2006-2010 GeoSolutions. All Rights Reserved.