|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.enhydra.barracuda.core.forms.FormType
This class defines all valid FormTypes. Currently we support:
Field Summary | |
static FormType |
BIG_DECIMAL
|
static FormType |
BOOLEAN
|
static FormType |
DATE
|
static FormType |
DOUBLE
|
static FormType |
FLOAT
|
static FormType |
INTEGER
|
static FormType |
LONG
|
static FormType |
SHORT
|
static FormType |
STRING
|
Constructor Summary | |
protected |
FormType()
Protected constructor to prevent external instantiation. |
Method Summary | |
abstract java.lang.Class |
getFormClass()
Returns the class associated with this particular form type. |
java.lang.Object |
parse(java.lang.String origVal)
Parses an object based on the specific form type. |
abstract java.lang.Object |
parse(java.lang.String origVal,
java.util.Locale loc)
Parses an object based on the specific form type. |
java.lang.String |
toString()
Returns a string representation of this particular formt type. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static FormType STRING
public static FormType BOOLEAN
public static FormType INTEGER
public static FormType LONG
public static FormType SHORT
public static FormType DOUBLE
public static FormType FLOAT
public static FormType BIG_DECIMAL
public static FormType DATE
Constructor Detail |
protected FormType()
Method Detail |
public abstract java.lang.Class getFormClass()
public java.lang.Object parse(java.lang.String origVal) throws ParseException
ParseException
public abstract java.lang.Object parse(java.lang.String origVal, java.util.Locale loc) throws ParseException
ParseException
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |