org.apache.directory.server.core.event
Class LeafEvaluator

java.lang.Object
  extended by org.apache.directory.server.core.event.LeafEvaluator
All Implemented Interfaces:
Evaluator

public class LeafEvaluator
extends java.lang.Object
implements Evaluator

Evaluates LeafNode assertions on candidates using a database.

Version:
$Rev: 928945 $
Author:
Apache Directory Project

Constructor Summary
LeafEvaluator(org.apache.directory.shared.ldap.schema.SchemaManager schemaManager, SubstringEvaluator substringEvaluator)
          Creates a leaf expression node evaluator.
 
Method Summary
 boolean evaluate(org.apache.directory.shared.ldap.filter.ExprNode node, java.lang.String dn, org.apache.directory.shared.ldap.entry.ServerEntry entry)
           
 ScopeEvaluator getScopeEvaluator()
           
 SubstringEvaluator getSubstringEvaluator()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LeafEvaluator

public LeafEvaluator(org.apache.directory.shared.ldap.schema.SchemaManager schemaManager,
                     SubstringEvaluator substringEvaluator)
Creates a leaf expression node evaluator.

Parameters:
substringEvaluator -
Method Detail

getScopeEvaluator

public ScopeEvaluator getScopeEvaluator()

getSubstringEvaluator

public SubstringEvaluator getSubstringEvaluator()

evaluate

public boolean evaluate(org.apache.directory.shared.ldap.filter.ExprNode node,
                        java.lang.String dn,
                        org.apache.directory.shared.ldap.entry.ServerEntry entry)
                 throws org.apache.directory.shared.ldap.exception.LdapException
Specified by:
evaluate in interface Evaluator
Throws:
org.apache.directory.shared.ldap.exception.LdapException
See Also:
Evaluator.evaluate(ExprNode, String, ServerEntry)


Copyright © 2003-2010 The Apache Software Foundation. All Rights Reserved.