public class LDAPFilter extends Unary implements IFilterExpression
Expression.VariableFinderTYPE_ALL, TYPE_AND, TYPE_ARRAY, TYPE_ASSIGNMENT, TYPE_AT, TYPE_COLLECT, TYPE_CONDITION, TYPE_EQUALS, TYPE_EXISTS, TYPE_FIRST, TYPE_FLATTEN, TYPE_FUNCTION, TYPE_GREATER, TYPE_GREATER_EQUAL, TYPE_INTERSECT, TYPE_LAMBDA, TYPE_LATEST, TYPE_LESS, TYPE_LESS_EQUAL, TYPE_LIMIT, TYPE_LITERAL, TYPE_MATCHES, TYPE_MEMBER, TYPE_NOT, TYPE_NOT_EQUALS, TYPE_OR, TYPE_PARAMETER, TYPE_PIPE, TYPE_SELECT, TYPE_TRAVERSE, TYPE_UNION, TYPE_UNIQUE, TYPE_VARIABLEKEYWORD_ALL, KEYWORD_BOOLEAN, KEYWORD_CLASS, KEYWORD_COLLECT, KEYWORD_EXISTS, KEYWORD_FALSE, KEYWORD_FILTER, KEYWORD_FIRST, KEYWORD_FLATTEN, KEYWORD_INTERSECT, KEYWORD_IQUERY, KEYWORD_LATEST, KEYWORD_LIMIT, KEYWORD_LOCALIZED_KEYS, KEYWORD_LOCALIZED_MAP, KEYWORD_LOCALIZED_PROPERTY, KEYWORD_NULL, KEYWORD_RANGE, KEYWORD_SATISFIES_ALL, KEYWORD_SATISFIES_ANY, KEYWORD_SELECT, KEYWORD_SET, KEYWORD_TRAVERSE, KEYWORD_TRUE, KEYWORD_UNION, KEYWORD_UNIQUE, KEYWORD_VERSION, OPERATOR_AND, OPERATOR_ARRAY, OPERATOR_ASSIGN, OPERATOR_AT, OPERATOR_EACH, OPERATOR_ELSE, OPERATOR_EQUALS, OPERATOR_GT, OPERATOR_GT_EQUAL, OPERATOR_IF, OPERATOR_LT, OPERATOR_LT_EQUAL, OPERATOR_MATCHES, OPERATOR_MEMBER, OPERATOR_NOT, OPERATOR_NOT_EQUALS, OPERATOR_OR, OPERATOR_PARAMETER, PRIORITY_AND, PRIORITY_ASSIGNMENT, PRIORITY_BINARY, PRIORITY_COLLECTION, PRIORITY_COMMA, PRIORITY_CONDITION, PRIORITY_FUNCTION, PRIORITY_LAMBDA, PRIORITY_LITERAL, PRIORITY_MAX, PRIORITY_MEMBER, PRIORITY_NOT, PRIORITY_OR, PRIORITY_VARIABLE, VARIABLE_EVERYTHING, VARIABLE_THIS| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(IExpressionVisitor visitor)
Let the visitor visit this instance and all expressions that this
instance contains.
|
boolean |
equals(java.lang.Object o) |
java.lang.Object |
evaluate(IEvaluationContext context)
Evaluate this expression with given context and variables.
|
int |
getExpressionType()
Returns the expression type (see TYPE_xxx constants).
|
java.lang.String |
getOperator() |
int |
getPriority() |
boolean |
isMatch(java.lang.Object candidate) |
boolean |
match(<any> reference)
Filter using a
Map. |
boolean |
match(java.util.Dictionary dictionary) |
boolean |
match(java.util.Map<java.lang.String,? extends java.lang.Object> map)
Filter using a
Map. |
boolean |
matchCase(java.util.Dictionary dictionary) |
boolean |
matchCase(java.util.Map<java.lang.String,? extends java.lang.Object> map)
Filter with case sensitivity using a
Map. |
boolean |
matches(java.util.Map<java.lang.String,?> map) |
void |
toString(java.lang.StringBuffer bld,
Variable rootVariable) |
compareTo, getOperand, hashCodeappendOperand, assertLength, assertLength, compare, elementsToString, equals, evaluateAsIterator, getIndexCandidateMembers, hashCode, isReferenceTo, needsTranslationSupport, toLDAPString, toLDAPString, toString, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waittoLDAPString, toStringpublic boolean accept(IExpressionVisitor visitor)
Expressionaccept in interface IExpressionaccept in class Unaryvisitor - The visiting visitor.true if the visitor should continue visiting, false otherwise.public java.lang.String getOperator()
getOperator in class Expressionpublic int getPriority()
getPriority in class Expressionpublic int getExpressionType()
IExpressiongetExpressionType in interface IExpressionpublic boolean match(java.util.Map<java.lang.String,? extends java.lang.Object> map)
IFilterExpressionMap. This Filter is
executed using the specified Map's keys and values.
The keys are case insensitively matched with this Filter.match in interface IFilterExpressionmap - The Map whose keys are used in the
match.true if the map's keys and
values match this filter; false otherwise.public boolean match(java.util.Dictionary dictionary)
public boolean isMatch(java.lang.Object candidate)
public boolean match(<any> reference)
IFilterExpressionMap. This Filter is
executed using the specified Map's keys and values.
The keys are case insensitively matched with this Filter.match in interface IFilterExpressionreference - The Map whose keys are used in the
match.true if the map's keys and
values match this filter; false otherwise.public boolean matchCase(java.util.Map<java.lang.String,? extends java.lang.Object> map)
IFilterExpressionMap. This
Filter is executed using the specified
Map's keys and values. The keys are case sensitively
matched with this Filter.matchCase in interface IFilterExpressionmap - The Map whose keys are used in the
match.true if the map's keys and
values match this filter; false otherwise.public boolean matches(java.util.Map<java.lang.String,?> map)
public boolean matchCase(java.util.Dictionary dictionary)
public void toString(java.lang.StringBuffer bld,
Variable rootVariable)
public java.lang.Object evaluate(IEvaluationContext context)
Expressionevaluate in interface IExpressionevaluate in class Unarycontext - The evaluation context