|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.japano.action.RangeValidator
public class RangeValidator
Validates a number HTTP parameter to be in a given limit.
Constructor Summary | |
---|---|
RangeValidator(java.lang.String args)
|
Method Summary | |
---|---|
java.lang.String |
toString()
|
java.lang.String |
validate(java.lang.String name,
java.lang.String value)
Validates the value and returns it. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RangeValidator(java.lang.String args)
Method Detail |
---|
public java.lang.String validate(java.lang.String name, java.lang.String value)
Validator
validate
in interface Validator
name
- parameter namevalue
- parameter value to validate.
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 |