org.geotools.image.io.metadata
Class Axis

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

public class Axis
extends MetadataAccessor

An <Axis> element in geographic metadata format.

Since:
2.4
Version:
$Id: Axis.java 30775 2008-06-20 15:50:30Z cedricbr $
Author:
Martin Desruisseaux
See Also:
CoordinateSystemAxis

Constructor Summary
protected Axis(ImageReferencing metadata, int index)
          Creates a parser for an axis.
 
Method Summary
 java.lang.String getDirection()
          Returns the direction for this axis, or null if none.
 java.lang.String getName()
          Returns the name for this axis, or null if none.
 java.util.Date getTimeOrigin()
          Returns the time origin for this axis, or null if none.
 java.lang.String getUnits()
          Returns the units for this axis, or null if none.
 void setDirection(java.lang.String direction)
          Sets the direction for this axis.
 void setName(java.lang.String name)
          Sets the name for this axis.
 void setTimeOrigin(java.util.Date origin)
          Sets the time origin for this axis.
 void setUnits(java.lang.String units)
          Sets the units 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

Axis

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

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

getName

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


setName

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

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

getDirection

public java.lang.String getDirection()
Returns the direction for this axis, or null if none.


setDirection

public void setDirection(java.lang.String direction)
Sets the direction for this axis.

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

getUnits

public java.lang.String getUnits()
Returns the units for this axis, or null if none.


setUnits

public void setUnits(java.lang.String units)
Sets the units for this axis.

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

getTimeOrigin

public java.util.Date getTimeOrigin()
Returns the time origin for this axis, or null if none.


setTimeOrigin

public void setTimeOrigin(java.util.Date origin)
Sets the time origin for this axis.

Parameters:
origin - The axis time origin, or null if none.


Copyright © 1996-2010 Geotools. All Rights Reserved.