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, set
public ScopeNode(AliasDerefMode aliasDerefAliases, String baseDn, SearchScope scope)
aliasDerefAliases
- the alias dereferencing modebaseDn
- the search basescope
- the search scopepublic ExprNode clone()
clone
in interface ExprNode
clone
in class AbstractExprNode
public boolean isLeaf()
isLeaf
in interface ExprNode
isLeaf
in class AbstractExprNode
true
ExprNode.isLeaf()
public SearchScope getScope()
public String getBaseDn()
public AliasDerefMode getDerefAliases()
public Object accept(FilterVisitor visitor)
ExprNode
visitor
- the filter expression tree structure visitorExprNode.accept(
org.apache.directory.shared.ldap.filter.FilterVisitor)
public int hashCode()
hashCode
in class AbstractExprNode
Object.hashCode()
public String toString()
toString
in class AbstractExprNode
Object.toString()
Copyright © 2003-2012 Apache Software Foundation. All Rights Reserved.