Package 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

  Modifier and Type
  Method
  Description
  `void`
  `validate(T value)`
  Method used to validate if the value is valid.

- ## Method Details

  - ### 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.