public class RefinementLeafEvaluator extends Object
Constructor and Description |
---|
RefinementLeafEvaluator(org.apache.directory.shared.ldap.schema.registries.OidRegistry registry)
Creates a refinement filter's leaf node evaluator.
|
Modifier and Type | Method and Description |
---|---|
boolean |
evaluate(org.apache.directory.shared.ldap.filter.SimpleNode node,
org.apache.directory.shared.ldap.entry.EntryAttribute objectClasses)
Evaluates whether or not a simple leaf node of a refinement filter selects an
entry based on the entry's objectClass attribute values.
|
public RefinementLeafEvaluator(org.apache.directory.shared.ldap.schema.registries.OidRegistry registry)
registry
- the OID registry used to lookup names for objectClass OIDspublic boolean evaluate(org.apache.directory.shared.ldap.filter.SimpleNode node, org.apache.directory.shared.ldap.entry.EntryAttribute objectClasses) throws org.apache.directory.shared.ldap.exception.LdapException
node
- the leaf node of the refinement filterobjectClasses
- the objectClass attribute's valuesorg.apache.directory.shared.ldap.exception.LdapException
Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.