org.springframework.batch.item.validator
Interface Validator<T>

All Known Implementing Classes:
SpringValidator

public interface Validator<T>

Interface used to validate objects.

Author:
tomas.slanina

Method Summary
 void validate(T value)
          Method used to validate if the value is valid.
 

Method Detail

validate

void validate(T value)
              throws ValidationException
Method used to validate if the value is valid.

Parameters:
value - object to be validated
Throws:
ValidationException - if value is not valid.


Copyright © 2013 SpringSource. All Rights Reserved.