|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.batch.item.validator.SpringValidator<T>
public class SpringValidator<T>
Adapts the Validator interface to
Validator.
| Constructor Summary | |
|---|---|
SpringValidator()
|
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
|
void |
setValidator(org.springframework.validation.Validator validator)
|
void |
validate(T item)
Method used to validate if the value is valid. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SpringValidator()
| Method Detail |
|---|
public void validate(T item)
throws ValidationException
Validator
validate in interface Validator<T>item - object to be validated
ValidationException - if value is not valid.Validator.validate(Object)public void setValidator(org.springframework.validation.Validator validator)
public void afterPropertiesSet()
throws java.lang.Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanjava.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||