org.geotools.image.io.metadata
Class Parameter

java.lang.Object
  extended by org.geotools.image.io.metadata.MetadataAccessor
      extended by org.geotools.image.io.metadata.Parameter

public class Parameter
extends MetadataAccessor

An <Parameter> element in geographic metadata format.

Since:
2.5
Version:
$Id: Parameter.java 30965 2008-07-09 10:04:21Z cedricbr $
Author:
Cédric Briançon
See Also:
ParameterValue

Constructor Summary
protected Parameter(ImageReferencing metadata, int index)
          Creates a parser for an axis.
 
Method Summary
 java.lang.String getName()
          Returns the name for this parameter, or null if none.
 double getValue()
          Returns the value for this parameter, or null if none.
 void setName(java.lang.String name)
          Sets the name for this parameter.
 void setValue(double value)
          Sets the direction for this axis.
 
Methods inherited from class org.geotools.image.io.metadata.MetadataAccessor
appendChild, childCount, getAttributeAsDate, getAttributeAsDouble, getAttributeAsDoubles, getAttributeAsInteger, getAttributeAsIntegers, getAttributeAsString, getUserObject, getUserObject, selectChild, selectParent, setAttributeAsDate, setAttributeAsDouble, setAttributeAsDoubles, setAttributeAsInteger, setAttributeAsIntegers, setAttributeAsString, setUserObject, setWarningsEnabled, toString, trimFractionalPart, warningOccurred
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Parameter

protected Parameter(ImageReferencing metadata,
                    int index)
Creates a parser for an axis. This constructor should not be invoked directly; use ImageReferencing.getParameter(int) instead.

Parameters:
metadata - The metadata which contains this parameter.
index - The index for this instance.
Method Detail

getName

public java.lang.String getName()
Returns the name for this parameter, or null if none.


setName

public void setName(java.lang.String name)
Sets the name for this parameter.

Parameters:
name - The axis name, or null if none.

getValue

public double getValue()
Returns the value for this parameter, or null if none.


setValue

public void setValue(double value)
Sets the direction for this axis.

Parameters:
direction - The axis direction, or null if none.


Copyright © 1996-2010 Geotools. All Rights Reserved.