|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object wheel.components.Validations
public class Validations
Validation methods available by default in validation expressions.
FormElement.validationRule(String, String)
Method Summary | |
---|---|
static Validations |
getInstance()
|
boolean |
isDouble(java.lang.String value)
Returns true if value is a valid Double. |
boolean |
isEmail(java.lang.String value)
Returns true if value is a valid email address. |
boolean |
isInt(java.lang.String value)
Returns true if value is an integer. |
boolean |
required(java.lang.String value)
Returns true if value is set. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public boolean isInt(java.lang.String value)
value
-
public boolean required(java.lang.String value)
value
-
public boolean isDouble(java.lang.String value)
value
-
public boolean isEmail(java.lang.String value)
value
-
public static Validations getInstance()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |