Class DefaultValidator<T>

java.lang.Object
overit.geocallapp.utilities.rs.validator.DefaultValidator<T>
Type Parameters:
T - the type of object this validator handles
All Implemented Interfaces:
Validator<T>

public class DefaultValidator<T> extends Object implements Validator<T>
No-operation implementation of Validator that performs no validation.
This validator accepts all objects as valid and never throws validation exceptions.
Since:
1.0
  • Constructor Details

    • DefaultValidator

      public DefaultValidator()
  • Method Details

    • validate

      public void validate(T t)
      Performs no validation on the provided object. This method always succeeds and never throws exceptions.
      Specified by:
      validate in interface Validator<T>
      Parameters:
      t - the object to validate (ignored)