|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ParameterValidator
Interface for a parameter validator, i.e. a class that can validate some possible parameter values.
Method Summary | |
---|---|
boolean |
checkValue(Object value)
Returns true if the value is valid and false
otherwise. |
ParameterValidator |
clone()
This method returns a deep copy of the current instance. |
String |
getErrorMessage()
Returns the error message if checkValue(Object) returned false. |
Methods inherited from interface de.jstacs.Storable |
---|
toXML |
Method Detail |
---|
boolean checkValue(Object value)
true
if the value is valid and false
otherwise.
value
- the Object
to be checked
value
is validString getErrorMessage()
checkValue(Object)
returned false.
ParameterValidator clone() throws CloneNotSupportedException
CloneNotSupportedException
- if the ParameterValidator
could not be clonedCloneable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |