org.jreform.types
Class FloatType

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

public final class FloatType
extends Object
implements InputDataType<Float>


Field Summary
private static FloatType type
           
 
Constructor Summary
private FloatType()
           
 
Method Summary
static InputDataType<Float> floatType()
           
 Class<Float> getInputDataClass()
          Returns class of input's data.
 Float 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 FloatType type
Constructor Detail

FloatType

private FloatType()
Method Detail

parseValue

public Float 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<Float>

getInputDataClass

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

Specified by:
getInputDataClass in interface InputDataType<Float>

toString

public String toString()
Overrides:
toString in class Object

floatType

public static InputDataType<Float> floatType()


Copyright © 2007-2008 jReform