|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.sovt.impl.AbstractValidator
This validator provides storage for single message. All subclassed validators do not need to create setMsg(String) method. You can specify optional "msg" or "message" parameter in an xml configuration file for such validators.
| Constructor Summary | |
AbstractValidator()
|
|
| Method Summary | |
java.lang.Object |
clone()
Just returns super.clone(). |
java.lang.String |
getMessage()
Returns stored message. |
void |
setMessage(java.lang.String pMessage)
Set message in case of failure. |
void |
setMsg(java.lang.String pMessage)
Set message in case of failure. |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.sovt.Validator |
validate |
| Constructor Detail |
public AbstractValidator()
| Method Detail |
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in interface Validatorjava.lang.CloneNotSupportedExceptionpublic java.lang.String getMessage()
public void setMsg(java.lang.String pMessage)
pMessage - used in case of failure.public void setMessage(java.lang.String pMessage)
pMessage - used in case of failure.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||