|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.shared.ldap.filter.AbstractExprNode
org.apache.directory.shared.ldap.filter.ScopeNode
public class ScopeNode
Node used not to represent a published assertion but an assertion on the scope of the search.
Field Summary |
---|
Fields inherited from class org.apache.directory.shared.ldap.filter.AbstractExprNode |
---|
annotations, assertionType |
Constructor Summary | |
---|---|
ScopeNode(AliasDerefMode aliasDerefAliases,
java.lang.String baseDn,
SearchScope scope)
Creates a new ScopeNode object. |
Method Summary | |
---|---|
java.lang.Object |
accept(FilterVisitor visitor)
Element/node accept method for visitor pattern. |
java.lang.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. |
java.lang.String |
toString()
|
Methods inherited from class org.apache.directory.shared.ldap.filter.AbstractExprNode |
---|
equals, get, getAnnotations, getAssertionType, printRefinementToBuffer, set |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ScopeNode(AliasDerefMode aliasDerefAliases, java.lang.String baseDn, SearchScope scope)
aliasDerefAliases
- the alias dereferencing modebaseDn
- the search basescope
- the search scopeMethod Detail |
---|
public boolean isLeaf()
isLeaf
in interface ExprNode
isLeaf
in class AbstractExprNode
true
ExprNode.isLeaf()
public SearchScope getScope()
public java.lang.String getBaseDn()
public AliasDerefMode getDerefAliases()
public java.lang.Object accept(FilterVisitor visitor)
ExprNode
visitor
- the filter expression tree structure visitor
ExprNode.accept(
org.apache.directory.shared.ldap.filter.FilterVisitor)
public int hashCode()
hashCode
in class AbstractExprNode
Object.hashCode()
public java.lang.String toString()
toString
in class AbstractExprNode
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |