|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface PropertyValidator
A Validator bound to a property. Subclasses must be thread-safe.
| Method Summary | |
|---|---|
java.lang.String |
getOverridenMessageKey()
If not null, this will be the error message key used instead of the one suggested by the validator class. |
java.lang.String |
getPropertyPath()
The property path that will be evaluated. |
boolean |
isBindMessages()
|
void |
validate(ValidationRequest request,
java.lang.Object value)
Validates one input value and adds to errors any validation error found |
boolean |
validateCollectionContainer()
|
| Methods inherited from interface org.loom.validator.FormInputDecorator |
|---|
decorate |
| Method Detail |
|---|
void validate(ValidationRequest request,
java.lang.Object value)
value - the value to validatejava.lang.String getPropertyPath()
java.lang.String getOverridenMessageKey()
MessagesRepository, default null.boolean validateCollectionContainer()
boolean isBindMessages()
Message
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||