it.geosolutions.imageio.plugins.mrsid
Class MrSIDIIOImageMetadataFormat

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

public class MrSIDIIOImageMetadataFormat
extends IIOMetadataFormatImpl
implements IIOMetadataFormat

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

Author:
Daniele Romagnoli, GeoSolutions., Simone Giannecchini, GeoSolutions.

Field Summary
protected static MrSIDIIOImageMetadataFormat mrsidMetadataInstance
          A single instance of the MrSIDIIOImageMetadataFormat class.
 
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
 
Constructor Summary
protected MrSIDIIOImageMetadataFormat()
          Constructs a MrSIDIIOImageMetadataFormat instance.
 
Method Summary
 boolean canNodeAppear(String elementName, ImageTypeSpecifier imageType)
           
static IIOMetadataFormat getInstance()
          Returns an instance of the MrSIDIIOImageMetadataFormat 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
 

Field Detail

mrsidMetadataInstance

protected static MrSIDIIOImageMetadataFormat mrsidMetadataInstance
A single instance of the MrSIDIIOImageMetadataFormat class.

Constructor Detail

MrSIDIIOImageMetadataFormat

protected MrSIDIIOImageMetadataFormat()
Constructs a MrSIDIIOImageMetadataFormat instance.

Method Detail

getInstance

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

Returns:
an instance of the MrSIDIIOImageMetadataFormat 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.