org.apache.directory.server.xdbm.search.impl
Class NotEvaluator<ID>
java.lang.Object
org.apache.directory.server.xdbm.search.impl.NotEvaluator<ID>
- All Implemented Interfaces:
- Evaluator<org.apache.directory.shared.ldap.filter.NotNode,org.apache.directory.shared.ldap.entry.ServerEntry,ID>
public class NotEvaluator<ID>
- extends java.lang.Object
- implements Evaluator<org.apache.directory.shared.ldap.filter.NotNode,org.apache.directory.shared.ldap.entry.ServerEntry,ID>
An Evaluator for logical negation (NOT) expressions.
- Version:
- $$Rev$$
- Author:
- Apache Directory Project
|
Constructor Summary |
NotEvaluator(org.apache.directory.shared.ldap.filter.NotNode node,
Evaluator<? extends org.apache.directory.shared.ldap.filter.ExprNode,org.apache.directory.shared.ldap.entry.ServerEntry,ID> childEvaluator)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NotEvaluator
public NotEvaluator(org.apache.directory.shared.ldap.filter.NotNode node,
Evaluator<? extends org.apache.directory.shared.ldap.filter.ExprNode,org.apache.directory.shared.ldap.entry.ServerEntry,ID> childEvaluator)
evaluateId
public boolean evaluateId(ID id)
throws java.lang.Exception
- Specified by:
evaluateId in interface Evaluator<org.apache.directory.shared.ldap.filter.NotNode,org.apache.directory.shared.ldap.entry.ServerEntry,ID>
- Throws:
java.lang.Exception
evaluateEntry
public boolean evaluateEntry(org.apache.directory.shared.ldap.entry.ServerEntry entry)
throws java.lang.Exception
- Specified by:
evaluateEntry in interface Evaluator<org.apache.directory.shared.ldap.filter.NotNode,org.apache.directory.shared.ldap.entry.ServerEntry,ID>
- Throws:
java.lang.Exception
evaluate
public boolean evaluate(IndexEntry<?,org.apache.directory.shared.ldap.entry.ServerEntry,ID> indexEntry)
throws java.lang.Exception
- Specified by:
evaluate in interface Evaluator<org.apache.directory.shared.ldap.filter.NotNode,org.apache.directory.shared.ldap.entry.ServerEntry,ID>
- Throws:
java.lang.Exception
getExpression
public org.apache.directory.shared.ldap.filter.NotNode getExpression()
- Specified by:
getExpression in interface Evaluator<org.apache.directory.shared.ldap.filter.NotNode,org.apache.directory.shared.ldap.entry.ServerEntry,ID>
Copyright © 2003-2010 The Apache Software Foundation. All Rights Reserved.