org.geotoolkit.image.io.metadata
Class PredefinedMetadataFormat

Object
  extended by IIOMetadataFormatImpl
      extended by SpatialMetadataFormat
          extended by PredefinedMetadataFormat
All Implemented Interfaces:
IIOMetadataFormat

Deprecated. Replaced by SpatialMetadataFormatBuilder.

@Deprecated
public class PredefinedMetadataFormat
extends SpatialMetadataFormat

Provides constructor methods for predefined metadata formats. This class provides the methods that created the trees documented in the super-class. This class is public in order to allow users to create their own metadata trees derived from the predefined Geotk trees.

Since:
3.07 (derived from 3.05)
Version:
3.20
Author:
Martin Desruisseaux (Geomatys)
Module:
coverage/geotk-coverageio (download)    View source code for this class

Field Summary
 
Fields inherited from class SpatialMetadataFormat
FORMAT_NAME, IMAGE, ISO_FORMAT_NAME, STREAM
 
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 PredefinedMetadataFormat(String rootName)
          Deprecated. Creates an initially empty format.
 
Method Summary
protected  void addTreeForCRS(String addToElement)
          Deprecated. Replaced by SpatialMetadataFormatBuilder.
protected  void addTreeForImage(String addToElement)
          Deprecated. Replaced by SpatialMetadataFormatBuilder.
protected  void addTreeForStream(String addToElement)
          Deprecated. Replaced by SpatialMetadataFormatBuilder.
 
Methods inherited from class SpatialMetadataFormat
addTree, addTree, canNodeAppear, getAttributeDescription, getDefaultValue, getElementDescription, getElementParent, getElementPath, getElementStandard, getImageInstance, getStreamInstance, removeAttribute, removeElement, toString, toTreeTable
 
Methods inherited from class IIOMetadataFormatImpl
addAttribute, addAttribute, addAttribute, addAttribute, addBooleanAttribute, addChildElement, addElement, addElement, addObjectValue, addObjectValue, addObjectValue, addObjectValue, getAttributeDataType, getAttributeDefaultValue, getAttributeEnumerations, getAttributeListMaxLength, getAttributeListMinLength, getAttributeMaxValue, getAttributeMinValue, getAttributeNames, getAttributeValueType, getChildNames, getChildPolicy, getElementMaxChildren, getElementMinChildren, getObjectArrayMaxLength, getObjectArrayMinLength, getObjectClass, getObjectDefaultValue, getObjectEnumerations, getObjectMaxValue, getObjectMinValue, getObjectValueType, getResourceBaseName, getRootName, getStandardFormatInstance, isAttributeRequired, removeObjectValue, setResourceBaseName
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PredefinedMetadataFormat

protected PredefinedMetadataFormat(String rootName)
Deprecated. 
Creates an initially empty format. Subclasses shall invoke the various addTree(...) methods defined in this class or parent class for adding new elements and attributes.

Parameters:
rootName - the name of the root element.
Method Detail

addTreeForStream

@Deprecated
protected void addTreeForStream(String addToElement)
Deprecated. Replaced by SpatialMetadataFormatBuilder.

Adds the tree structure for stream metadata. The default implementation adds the tree structure documented in the "Stream metadata" column of the class javadoc.

Parameters:
addToElement - The name of the element where to add the tree, or null for adding the tree at the root.
See Also:
SpatialMetadataFormat.STREAM

addTreeForImage

@Deprecated
protected void addTreeForImage(String addToElement)
Deprecated. Replaced by SpatialMetadataFormatBuilder.

Adds the tree structure for image metadata. The default implementation adds the tree structure documented in the "Image metadata" column of the class javadoc.

The Coordinate Reference System branch is not included by this method. For including CRS information, the addTreeForCRS(String) method shall be invoked explicitly.

Parameters:
addToElement - The name of the element where to add the tree, or null for adding the tree at the root.
See Also:
SpatialMetadataFormat.IMAGE

addTreeForCRS

@Deprecated
protected void addTreeForCRS(String addToElement)
Deprecated. Replaced by SpatialMetadataFormatBuilder.

Adds the tree structure for a Coordinate Reference System object.

Parameters:
addToElement - The name of the element where to add the tree, or null for adding the tree at the root.


Copyright © 2009-2012 Geotoolkit.org. All Rights Reserved.