| java.lang.Object org.geotools.image.io.metadata.MetadataAccessor org.geotools.image.io.metadata.Axis
Axis | public class Axis extends MetadataAccessor (Code) | | An
element in
.
since: 2.4 version: $Id: Axis.java 26151 2007-07-04 18:54:48Z desruisseaux $ author: Martin Desruisseaux See Also: CoordinateSystemAxis |
Constructor Summary | |
protected | Axis(ImageReferencing metadata, int index) Creates a parser for an axis. | | Axis(ChildList parent, int index) Creates a parser for an axis. |
Axis | protected Axis(ImageReferencing metadata, int index)(Code) | | Creates a parser for an axis. This constructor should not be invoked
directly; use
ImageReferencing.getAxis instead.
Parameters: metadata - The metadata which contains this axis. Parameters: index - The band index for this instance. |
Axis | Axis(ChildList parent, int index)(Code) | | Creates a parser for an axis. This constructor should not be invoked
directly; use
ImageReferencing.getAxis instead.
Parameters: parent - The set of all axis. Parameters: index - The axis index for this instance. |
getDirection | public String getDirection()(Code) | | Returns the direction for this axis, or
null if none.
|
getName | public String getName()(Code) | | Returns the name for this axis, or
null if none.
|
getTimeOrigin | public Date getTimeOrigin()(Code) | | Returns the time origin for this axis, or
null if none.
|
getUnits | public String getUnits()(Code) | | Returns the units for this axis, or
null if none.
|
setDirection | public void setDirection(String direction)(Code) | | Sets the direction for this axis.
Parameters: direction - The axis direction, or null if none. |
setName | public void setName(String name)(Code) | | Sets the name for this axis.
Parameters: name - The axis name, or null if none. |
setTimeOrigin | public void setTimeOrigin(Date origin)(Code) | | Sets the time origin for this axis.
Parameters: origin - The axis time origin, or null if none. |
setUnits | public void setUnits(String units)(Code) | | Sets the units for this axis.
Parameters: units - The axis units, or null if none. |
Methods inherited from org.geotools.image.io.metadata.MetadataAccessor | protected int appendChild()(Code)(Java Doc) protected int childCount()(Code)(Java Doc) protected Date getDate(String attribute)(Code)(Java Doc) protected Double getDouble(String attribute)(Code)(Java Doc) protected double[] getDoubles(String attribute, boolean unique)(Code)(Java Doc) protected Integer getInteger(String attribute)(Code)(Java Doc) protected int[] getIntegers(String attribute, boolean unique)(Code)(Java Doc) protected String getString(String attribute)(Code)(Java Doc) protected Object getUserObject()(Code)(Java Doc) protected Object getUserObject(Class type) throws ClassCastException(Code)(Java Doc) protected void selectChild(int index) throws IndexOutOfBoundsException(Code)(Java Doc) protected void selectParent() throws NoSuchElementException(Code)(Java Doc) protected void setDate(String attribute, Date value)(Code)(Java Doc) protected void setDouble(String attribute, double value)(Code)(Java Doc) protected void setDoubles(String attribute, double[] values)(Code)(Java Doc) final void setEnum(String attribute, String value, Collection enums)(Code)(Java Doc) protected void setInteger(String attribute, int value)(Code)(Java Doc) protected void setIntegers(String attribute, int[] values)(Code)(Java Doc) protected void setString(String attribute, String value)(Code)(Java Doc) protected void setUserObject(Object value) throws UnsupportedImplementationException(Code)(Java Doc) protected boolean setWarningsEnabled(boolean enabled)(Code)(Java Doc) public String toString()(Code)(Java Doc) public static String trimFractionalPart(String value)(Code)(Java Doc) final void warning(String method, int key, Object value)(Code)(Java Doc) protected void warningOccurred(LogRecord record)(Code)(Java Doc)
|
|
|