public class ScopeNode extends AbstractExprNode
annotations, assertionType| Constructor and Description |
|---|
ScopeNode(AliasDerefMode aliasDerefAliases,
String baseDn,
SearchScope scope)
Creates a new ScopeNode object.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
accept(FilterVisitor visitor)
Element/node accept method for visitor pattern.
|
ExprNode |
clone()
Makes a full clone in new memory space of the current node and children
|
String |
getBaseDn()
Gets the base dn.
|
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() |
equals, escapeFilterValue, get, getAnnotations, getAssertionType, printRefinementToBuffer, setpublic ScopeNode(AliasDerefMode aliasDerefAliases, String baseDn, SearchScope scope)
aliasDerefAliases - the alias dereferencing modebaseDn - the search basescope - the search scopepublic ExprNode clone()
clone in interface ExprNodeclone in class AbstractExprNodepublic boolean isLeaf()
isLeaf in interface ExprNodeisLeaf in class AbstractExprNodetrueExprNode.isLeaf()public SearchScope getScope()
public String getBaseDn()
public AliasDerefMode getDerefAliases()
public Object accept(FilterVisitor visitor)
ExprNodevisitor - the filter expression tree structure visitorExprNode.accept(
org.apache.directory.shared.ldap.filter.FilterVisitor)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.