org.deegree.geometry.io
Class DoubleCoordinateFormatter

java.lang.Object
  extended by org.deegree.geometry.io.DoubleCoordinateFormatter
All Implemented Interfaces:
CoordinateFormatter

public class DoubleCoordinateFormatter
extends java.lang.Object
implements CoordinateFormatter

CoordinateFormatter that simply uses the string value of the coordinate (#toString()).

Version:
$Revision: 22943 $, $Date: 2010-03-09 16:56:32 +0100 (Di, 09. Mär 2010) $
Author:
Markus Schneider, last edited by: $Author: mschneider $

Constructor Summary
DoubleCoordinateFormatter()
           
 
Method Summary
 java.lang.String format(double number)
          Returns the formatted string representation of the given ordinate.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DoubleCoordinateFormatter

public DoubleCoordinateFormatter()
Method Detail

format

public java.lang.String format(double number)
Description copied from interface: CoordinateFormatter
Returns the formatted string representation of the given ordinate.

Specified by:
format in interface CoordinateFormatter
Parameters:
number - ordinate to be formatted
Returns:
the formatted string, never null


Copyright © 2011. All Rights Reserved.