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, set
public ScopeNode(AliasDerefMode aliasDerefAliases, Dn baseDn, String baseId, SearchScope scope)
aliasDerefAliases
- the alias dereferencing modebaseDn
- the search basescope
- the search scopepublic boolean isLeaf()
true
ExprNode.isLeaf()
public SearchScope getScope()
public AliasDerefMode getDerefAliases()
public Object accept(FilterVisitor visitor)
ExprNode
visitor
- the filter expression tree structure visitorExprNode.accept(
FilterVisitor)
public boolean equals(Object obj)
equals
in class AbstractExprNode
true
if both objects are equalObject.equals(Object)
public int hashCode()
hashCode
in class AbstractExprNode
Object.hashCode()
public String toString()
toString
in class AbstractExprNode
Object.toString()
Copyright © 2003–2014 The Apache Software Foundation. All rights reserved.