org.jreform.types
Class BooleanType

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

public final class BooleanType
extends Object
implements InputDataType<Boolean>


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

BooleanType

private BooleanType()
Method Detail

parseValue

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

getInputDataClass

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

Specified by:
getInputDataClass in interface InputDataType<Boolean>

toString

public String toString()
Overrides:
toString in class Object

booleanType

public static InputDataType<Boolean> booleanType()


Copyright © 2007-2008 jReform