org.deegree.geometry.io
Class DoubleCoordinateFormatter

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

public class DoubleCoordinateFormatter
extends Object
implements CoordinateFormatter

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

Version:
$Revision: 31641 $, $Date: 2011-08-24 21:24:55 +0200 (Wed, 24 Aug 2011) $
Author:
Markus Schneider, last edited by: $Author: mschneider $

Constructor Summary
DoubleCoordinateFormatter()
           
 
Method Summary
 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 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.