|
|||||||||
| Home >> All >> com >> aendvari >> griffin >> validation >> handlers >> [ simple overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.aendvari.griffin.validation.handlers.simple
Class SimpleErrorHandler

java.lang.Objectcom.aendvari.griffin.validation.handlers.simple.SimpleErrorHandler
- public class SimpleErrorHandler
- extends java.lang.Object
A simple error handler for performing data validation. All errors are collected into a com.aendvari.common.notices.Notices object which is available once the validation process has completed.
| Field Summary | |
private com.aendvari.common.notices.Notices |
errors
A com.aendvari.common.notices.Notices instance for holding all notices for later retrieval. |
| Constructor Summary | |
SimpleErrorHandler()
|
|
| Method Summary | |
void |
addError(java.lang.String resourceKey,
java.lang.String propertyName,
java.lang.String propertyValue)
Adds an error to the messages list. |
com.aendvari.common.notices.Notices |
getErrorMessages()
Retrieve the error messages. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
errors
private com.aendvari.common.notices.Notices errors
- A com.aendvari.common.notices.Notices instance for holding all notices for later retrieval.
| Constructor Detail |
SimpleErrorHandler
public SimpleErrorHandler()
| Method Detail |
addError
public void addError(java.lang.String resourceKey, java.lang.String propertyName, java.lang.String propertyValue) throws java.lang.Exception
- Adds an error to the messages list.
getErrorMessages
public com.aendvari.common.notices.Notices getErrorMessages()
- Retrieve the error messages.
|
|||||||||
| Home >> All >> com >> aendvari >> griffin >> validation >> handlers >> [ simple overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
com.aendvari.griffin.validation.handlers.simple.SimpleErrorHandler