org.jreform.types
Class CharType

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

public final class CharType
extends Object
implements InputDataType<Character>


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

CharType

private CharType()
Method Detail

parseValue

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

getInputDataClass

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

Specified by:
getInputDataClass in interface InputDataType<Character>

toString

public String toString()
Overrides:
toString in class Object

charType

public static InputDataType<Character> charType()


Copyright © 2007-2008 jReform