org.jreform.types
Class DoubleType

java.lang.Object
  extended by org.jreform.types.DoubleType
All Implemented Interfaces:
InputDataType<Double>

public final class DoubleType
extends Object
implements InputDataType<Double>


Field Summary
private static DoubleType type
           
 
Constructor Summary
private DoubleType()
           
 
Method Summary
static InputDataType<Double> doubleType()
           
 Class<Double> getInputDataClass()
          Returns class of input's data.
 Double parseValue(String value)
          Parses the specified string into an object of this data type's class.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

type

private static final DoubleType type
Constructor Detail

DoubleType

private DoubleType()
Method Detail

parseValue

public Double parseValue(String value)
Description copied from interface: InputDataType
Parses the specified string into an object of this data type's class.

Specified by:
parseValue in interface InputDataType<Double>

getInputDataClass

public Class<Double> getInputDataClass()
Description copied from interface: InputDataType
Returns class of input's data.

Specified by:
getInputDataClass in interface InputDataType<Double>

toString

public String toString()
Overrides:
toString in class Object

doubleType

public static InputDataType<Double> doubleType()


Copyright © 2007-2008 jReform