|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.server.core.event.SubstringEvaluator
public class SubstringEvaluator
Evaluates substring filter assertions on an entry.
Constructor Summary | |
---|---|
SubstringEvaluator(OidRegistry oidRegistry,
AttributeTypeRegistry attributeTypeRegistry)
Creates a new SubstringEvaluator for substring expressions. |
Method Summary | |
---|---|
boolean |
evaluate(org.apache.directory.shared.ldap.filter.ExprNode node,
java.lang.String dn,
ServerEntry entry)
Evaluates a candidate to determine if a filter expression selects it. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SubstringEvaluator(OidRegistry oidRegistry, AttributeTypeRegistry attributeTypeRegistry)
oidRegistry
- the OID registry for name to OID mappingattributeTypeRegistry
- the attributeType registryMethod Detail |
---|
public boolean evaluate(org.apache.directory.shared.ldap.filter.ExprNode node, java.lang.String dn, ServerEntry entry) throws javax.naming.NamingException
Evaluator
evaluate
in interface Evaluator
node
- the filter expression to evaluate on the candidatedn
- the normalized distinguished name of the entry being testedentry
- the entry to evaluate
javax.naming.NamingException
- if there is a database fault during evaluationEvaluator.evaluate( ExprNode, String, ServerEntry )
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |