|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.intel.gpe.gridbeans.plugins.validators.IntegerValueValidator
public class IntegerValueValidator
This validator validate integer values.
The value must be of type String
. It is valid if it can be converted to integer.
Constructor Summary | |
---|---|
IntegerValueValidator()
|
Method Summary | |
---|---|
static IValueValidator |
getInstance()
|
boolean |
isValid(java.lang.Object value,
java.lang.StringBuffer reason)
Validate the value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IntegerValueValidator()
Method Detail |
---|
public boolean isValid(java.lang.Object value, java.lang.StringBuffer reason)
IValueValidator
isValid
in interface IValueValidator
value
- The valuereason
- The reson of the validation failure (if any)
true
if the value is validpublic static IValueValidator getInstance()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |