|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.echobinding.validation.NumberValidator
public class NumberValidator
A number validator for validating the format of numbers.
Constructor Summary | |
---|---|
NumberValidator(java.lang.String pattern)
Creates a number validator. |
Method Summary | |
---|---|
ValidationReport |
validate(java.lang.Object bean,
java.lang.Object input)
Validates the input against the number format. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NumberValidator(java.lang.String pattern)
pattern
- - the number pattern to useMethod Detail |
---|
public ValidationReport validate(java.lang.Object bean, java.lang.Object input)
validate
in interface Validator
input
- - the user input
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |