Package net.fortuna.ical4j.filter
Class AbstractFilter<T>
- java.lang.Object
-
- net.fortuna.ical4j.filter.AbstractFilter<T>
-
- All Implemented Interfaces:
PredicateFactory<T>
- Direct Known Subclasses:
ComponentFilter,PropertyFilter
public abstract class AbstractFilter<T> extends Object implements PredicateFactory<T>
-
-
Constructor Summary
Constructors Constructor Description AbstractFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected <V> Vliteral(FilterExpression expression)protected Parameterparameter(String name, String value)Build a parameter from a name and value string.protected Parameterparameter(BinaryExpression expression)Build a parameter instance from an expression.protected Parameterparameter(UnaryExpression expression)Build a parameter instance from an expression.protected Parameterparameter(FilterTarget.Attribute a)protected List<Comparable<Parameter>>parameters(BinaryExpression expression)Build a list of parameters from an expression.protected List<Comparable<Property>>properties(BinaryExpression expression)Build a property list from an expression.protected Propertyproperty(BinaryExpression expression)Build a property instance from an expression.protected Propertyproperty(UnaryExpression expression)Build a property instance from an expression.protected Propertyproperty(FilterExpression expression)Build a property instance from an expression.protected Propertyproperty(FilterTarget operand)Build a property instance from a filter specification.protected Propertyproperty(FilterTarget operand, String value)Build a property instance from a filter specification and value string.protected FilterTargettarget(FilterExpression expression)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.fortuna.ical4j.filter.PredicateFactory
predicate, predicate, predicate
-
-
-
-
Method Detail
-
literal
protected <V> V literal(FilterExpression expression)
-
target
protected FilterTarget target(FilterExpression expression)
-
property
protected Property property(FilterExpression expression)
Build a property instance from an expression.- Parameters:
expression-- Returns:
-
property
protected Property property(UnaryExpression expression)
Build a property instance from an expression.- Parameters:
expression-- Returns:
-
property
protected Property property(BinaryExpression expression)
Build a property instance from an expression.- Parameters:
expression-- Returns:
-
properties
protected List<Comparable<Property>> properties(BinaryExpression expression)
Build a property list from an expression.- Parameters:
expression-- Returns:
-
property
protected Property property(FilterTarget operand)
Build a property instance from a filter specification.- Parameters:
operand-- Returns:
-
property
protected Property property(FilterTarget operand, String value)
Build a property instance from a filter specification and value string.- Parameters:
operand-value-- Returns:
-
parameter
protected Parameter parameter(UnaryExpression expression)
Build a parameter instance from an expression.- Parameters:
expression-- Returns:
-
parameter
protected Parameter parameter(BinaryExpression expression)
Build a parameter instance from an expression.- Parameters:
expression-- Returns:
-
parameters
protected List<Comparable<Parameter>> parameters(BinaryExpression expression)
Build a list of parameters from an expression.- Parameters:
expression-- Returns:
-
parameter
protected Parameter parameter(FilterTarget.Attribute a)
-
-