public class ScopeNode extends AbstractExprNode
annotations, assertionType, isSchemaAware| Constructor and Description |
|---|
ScopeNode(AliasDerefMode aliasDerefAliases,
Dn baseDn,
String baseId,
SearchScope scope)
Creates a new ScopeNode object.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
accept(FilterVisitor visitor)
Element/node accept method for visitor pattern.
|
boolean |
equals(Object obj) |
Dn |
getBaseDn()
Gets the base dn.
|
String |
getBaseId()
Gets the base ID.
|
AliasDerefMode |
getDerefAliases()
Gets the alias dereferencing mode type safe enumeration.
|
SearchScope |
getScope()
Gets the search scope.
|
int |
hashCode() |
boolean |
isLeaf()
Always returns true since a scope node has no children.
|
String |
toString() |
clone, escapeFilterValue, get, getAnnotations, getAssertionType, isSchemaAware, printRefinementToBuffer, setpublic ScopeNode(AliasDerefMode aliasDerefAliases, Dn baseDn, String baseId, SearchScope scope)
aliasDerefAliases - the alias dereferencing modebaseDn - the search basescope - the search scopepublic boolean isLeaf()
trueExprNode.isLeaf()public SearchScope getScope()
public Dn getBaseDn()
public String getBaseId()
public AliasDerefMode getDerefAliases()
public Object accept(FilterVisitor visitor)
ExprNodevisitor - the filter expression tree structure visitorExprNode.accept(
FilterVisitor)public boolean equals(Object obj)
equals in class AbstractExprNodetrue if both objects are equalObject.equals(Object)public int hashCode()
hashCode in class AbstractExprNodeObject.hashCode()public String toString()
toString in class AbstractExprNodeObject.toString()Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.