|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--org.apache.commons.validator.ValidatorResult
This contains the results of a set of validation rules processed on JavaBean.
| Nested Class Summary | |
protected class |
ValidatorResult.ResultStatus
Contains the status of the validation. |
| Field Summary | |
protected Field |
field
Field being validated. |
protected java.util.Map |
hAction
Map of results. |
| Constructor Summary | |
ValidatorResult(Field field)
Constructs a ValidatorResult
with the associated field being validated. |
|
| Method Summary | |
void |
add(java.lang.String validatorName,
boolean result)
Add the result of a validator action. |
void |
add(java.lang.String validatorName,
boolean result,
java.lang.Object value)
Add the result of a validator action. |
boolean |
containsAction(java.lang.String validatorName)
|
java.util.Map |
getActionMap()
|
boolean |
isValid(java.lang.String validatorName)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.util.Map hAction
ValidatorAction
and the value is whether or not
this field passed or not.
protected Field field
Field being validated.
| Constructor Detail |
public ValidatorResult(Field field)
ValidatorResult
with the associated field being validated.
| Method Detail |
public void add(java.lang.String validatorName,
boolean result)
public void add(java.lang.String validatorName,
boolean result,
java.lang.Object value)
public boolean containsAction(java.lang.String validatorName)
public boolean isValid(java.lang.String validatorName)
public java.util.Map getActionMap()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||