public class LeafEvaluator extends Object implements Evaluator
| Constructor and Description |
|---|
LeafEvaluator(org.apache.directory.shared.ldap.schema.SchemaManager schemaManager,
SubstringEvaluator substringEvaluator)
Creates a leaf expression node evaluator.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
evaluate(org.apache.directory.shared.ldap.filter.ExprNode node,
String dn,
org.apache.directory.shared.ldap.entry.ServerEntry entry)
Evaluates a candidate to determine if a filter expression selects it.
|
ScopeEvaluator |
getScopeEvaluator() |
SubstringEvaluator |
getSubstringEvaluator() |
public LeafEvaluator(org.apache.directory.shared.ldap.schema.SchemaManager schemaManager,
SubstringEvaluator substringEvaluator)
substringEvaluator - public ScopeEvaluator getScopeEvaluator()
public SubstringEvaluator getSubstringEvaluator()
public boolean evaluate(org.apache.directory.shared.ldap.filter.ExprNode node,
String dn,
org.apache.directory.shared.ldap.entry.ServerEntry entry)
throws org.apache.directory.shared.ldap.exception.LdapException
Evaluatorevaluate in interface Evaluatornode - the filter expression to evaluate on the candidatedn - the normalized distinguished name of the entry being testedentry - the entry to evaluateorg.apache.directory.shared.ldap.exception.LdapException - if there is a database fault during evaluationEvaluator.evaluate(ExprNode, String, ServerEntry)Copyright © 2003-2012 Apache Software Foundation. All Rights Reserved.