|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.server.core.event.ExpressionEvaluator
public class ExpressionEvaluator
Top level filter expression evaluator implemenation.
Constructor Summary | |
---|---|
ExpressionEvaluator(LeafEvaluator leafEvaluator)
Creates a top level Evaluator where leaves are delegated to a leaf node evaluator which is already provided. |
|
ExpressionEvaluator(OidRegistry oidRegistry,
AttributeTypeRegistry attributeTypeRegistry)
Creates a top level Evaluator where leaves are delegated to a leaf node evaluator which will be created. |
Method Summary | |
---|---|
boolean |
evaluate(ExprNode node,
java.lang.String dn,
javax.naming.directory.Attributes entry)
Evaluates a candidate to determine if a filter expression selects it. |
LeafEvaluator |
getLeafEvaluator()
Gets the leaf evaluator used by this top level expression evaluator. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExpressionEvaluator(LeafEvaluator leafEvaluator)
leafEvaluator
- handles leaf node evaluation.public ExpressionEvaluator(OidRegistry oidRegistry, AttributeTypeRegistry attributeTypeRegistry) throws javax.naming.NamingException
oidRegistry
- the oid reg used for attrID to oid resolutionattributeTypeRegistry
- the attribtype reg used for value comparison
javax.naming.NamingException
Method Detail |
---|
public LeafEvaluator getLeafEvaluator()
public boolean evaluate(ExprNode node, java.lang.String dn, javax.naming.directory.Attributes 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, Attributes)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |