Module ical4j.core

Class EmptyValidator<T>

java.lang.Object
net.fortuna.ical4j.validate.EmptyValidator<T>
All Implemented Interfaces:
Serializable, Validator<T>

public final class EmptyValidator<T> extends Object implements Validator<T>
Created by fortuna on 12/09/15.
See Also:
  • Constructor Details

    • EmptyValidator

      public EmptyValidator()
  • Method Details

    • validate

      public ValidationResult validate(T target) throws ValidationException
      Description copied from interface: Validator
      Validates the target content by applying validation rules. When content fails validation the validator may throw an exception depending on the implementation.
      Specified by:
      validate in interface Validator<T>
      Parameters:
      target - the target of validation
      Returns:
      the result of validation applied to the specified target
      Throws:
      ValidationException - indicates validation failure (implementation-specific)