public class ScopeEvaluator extends Object implements Evaluator
Constructor and Description |
---|
ScopeEvaluator() |
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 record)
Evaluates a candidate to determine if a filter expression selects it.
|
public boolean evaluate(org.apache.directory.shared.ldap.filter.ExprNode node, String dn, org.apache.directory.shared.ldap.entry.ServerEntry record) throws org.apache.directory.shared.ldap.exception.LdapException
Evaluator
evaluate
in interface Evaluator
node
- the filter expression to evaluate on the candidatedn
- the normalized distinguished name of the entry being testedrecord
- the entry to evaluateorg.apache.directory.shared.ldap.exception.LdapException
- if there is a database fault during evaluationEvaluator.evaluate(ExprNode , String, ServerEntry)
Copyright © 2003–2014 The Apache Software Foundation. All rights reserved.