org.jreform.types
Class IntType

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

public final class IntType
extends Object
implements InputDataType<Integer>


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

IntType

private IntType()
Method Detail

parseValue

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

getInputDataClass

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

Specified by:
getInputDataClass in interface InputDataType<Integer>

toString

public String toString()
Overrides:
toString in class Object

intType

public static InputDataType<Integer> intType()


Copyright © 2007-2008 jReform