Top Description Fields Constructors Methods
net.fortuna.ical4j.validate

public final Class EmptyValidator<T>

extends Object
implements Validator<T>
Class Inheritance
All Implemented Interfaces
net.fortuna.ical4j.validate.Validator, java.io.Serializable

Created by fortuna on 12/09/15.

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public ValidationResult
validate(T
the target of validation
target
)

Implements net.fortuna.ical4j.validate.Validator.validate.

Validates the target content by applying validation rules.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Constructor Detail

EmptyValidatorback to summary
public EmptyValidator()

Method Detail

validateback to summary
public ValidationResult validate(T target) throws ValidationException

Implements net.fortuna.ical4j.validate.Validator.validate.

Doc from net.fortuna.ical4j.validate.Validator.validate.

Validates the target content by applying validation rules. When content fails validation the validator may throw an exception depending on the implementation.

Parameters
target:T

the target of validation

Returns:ValidationResult

the result of validation applied to the specified target

Annotations
@Override
Exceptions
ValidationException:
indicates validation failure (implementation-specific)