public abstract class AbstractFilter extends Object implements Filter
| Modifier and Type | Field and Description |
|---|---|
static Set<ExpressionContext> |
NON_PARAMETRIZABLE_CONTEXTS |
protected int |
priority |
| Modifier and Type | Method and Description |
|---|---|
Expression |
apply(Expression expression,
ExpressionContext expressionContext)
Transform the given expression
|
protected abstract Expression |
apply(Expression expression,
Map<String,ExpressionNode> options) |
int |
compareTo(Filter o) |
boolean |
equals(Object obj) |
Set<ExpressionContext> |
getApplicableContexts()
Provides the applicable contexts for this filter.
|
Set<String> |
getOptions()
Provides the option names this
Filter will process. |
Set<String> |
getRequiredOptions()
Provides the option names that will trigger a filter's execution.
|
int |
hashCode() |
int |
priority()
The priority with which filters are applied.
|
protected int priority
public static final Set<ExpressionContext> NON_PARAMETRIZABLE_CONTEXTS
public int priority()
Filterpublic int compareTo(Filter o)
compareTo in interface Comparable<Filter>public Expression apply(Expression expression, ExpressionContext expressionContext)
Filterprotected abstract Expression apply(Expression expression, Map<String,ExpressionNode> options)
public Set<String> getOptions()
FilterFilter will process.getOptions in interface Filterpublic Set<String> getRequiredOptions()
FiltergetRequiredOptions in interface Filterpublic Set<ExpressionContext> getApplicableContexts()
FiltergetApplicableContexts in interface FilterCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.