Package net.fortuna.ical4j.validate
Class AbstractValidationRuleSet<T>
- java.lang.Object
-
- net.fortuna.ical4j.validate.AbstractValidationRuleSet<T>
-
- Type Parameters:
T
- target type for rule application
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ComponentContainerRuleSet
,PropertyContainerRuleSet
,PropertyRuleSet
public abstract class AbstractValidationRuleSet<T> extends Object implements Serializable
Encapsulates a set of validation rules and context for the application of these rules.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Set<ValidationRule<T>>
rules
-
Constructor Summary
Constructors Constructor Description AbstractValidationRuleSet(ValidationRule<T>... rules)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract List<ValidationEntry>
apply(String context, T target)
Set<ValidationRule<T>>
getRules()
protected List<String>
matches(List<String> instances, Predicate<String> matchPredicate)
-
-
-
Field Detail
-
rules
protected final Set<ValidationRule<T>> rules
-
-
Constructor Detail
-
AbstractValidationRuleSet
@SafeVarargs public AbstractValidationRuleSet(ValidationRule<T>... rules)
-
-