org.apache.commons.validator
public class ValidatorResult extends Object implements Serializable
Nested Class Summary | |
---|---|
protected class | ValidatorResult.ResultStatus
Contains the status of the validation. |
Field Summary | |
---|---|
protected Field | fieldField being validated.
|
protected Map | hAction
Map of results. |
Constructor Summary | |
---|---|
ValidatorResult(Field field)
Constructs a ValidatorResult with the associated field being
validated. |
Method Summary | |
---|---|
void | add(String validatorName, boolean result)
Add the result of a validator action. |
void | add(String validatorName, boolean result, Object value)
Add the result of a validator action. |
boolean | containsAction(String validatorName) |
Map | getActionMap() |
Field | getField()
Returns the Field that was validated. |
boolean | isValid(String validatorName) |
Field
being validated.
TODO This variable is not used. Need to investigate removing it.ValidatorAction
and the value is whether or not this field passed or not.ValidatorResult
with the associated field being
validated.