public class RefinementLeafEvaluator
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private org.apache.directory.api.ldap.model.schema.AttributeType |
objectClassAT
A storage for the ObjectClass attributeType
|
private org.apache.directory.api.ldap.model.schema.SchemaManager |
schemaManager
A SchemaManager instance
|
| Constructor and Description |
|---|
RefinementLeafEvaluator(org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager)
Creates a refinement filter's leaf node evaluator.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
evaluate(org.apache.directory.api.ldap.model.filter.SimpleNode node,
org.apache.directory.api.ldap.model.entry.Attribute objectClasses)
Evaluates whether or not a simple leaf node of a refinement filter selects an
entry based on the entry's objectClass attribute values.
|
private final org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager
private org.apache.directory.api.ldap.model.schema.AttributeType objectClassAT
public RefinementLeafEvaluator(org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager)
schemaManager - The server schemaManagerpublic boolean evaluate(org.apache.directory.api.ldap.model.filter.SimpleNode node,
org.apache.directory.api.ldap.model.entry.Attribute objectClasses)
throws org.apache.directory.api.ldap.model.exception.LdapException
node - the leaf node of the refinement filterobjectClasses - the objectClass attribute's valuesorg.apache.directory.api.ldap.model.exception.LdapException