|
||||||||||
| 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 an published assertion but an assertion on the scope of the search.
| Field Summary |
|---|
| Fields inherited from class org.apache.directory.shared.ldap.filter.AbstractExprNode |
|---|
AND, APPROXIMATE, ASSERTION, EQUALITY, EXTENSIBLE, GREATEREQ, LESSEQ, NOT, OR, PRESENCE, SCOPE, SUBSTRING |
| Constructor Summary | |
|---|---|
ScopeNode(DerefAliasesEnum derefAliases,
java.lang.String baseDn,
int scope)
Creates a new ScopeNode object. |
|
ScopeNode(java.util.Map env,
java.lang.String baseDn,
int scope)
Creates a new ScopeNode object. |
|
| Method Summary | |
|---|---|
void |
accept(FilterVisitor visitor)
Element/node accept method for visitor pattern. |
java.lang.String |
getBaseDn()
Gets the base dn. |
DerefAliasesEnum |
getDerefAliases()
Gets the alias dereferencing mode type safe enumeration. |
int |
getScope()
Gets the scope constant for this node. |
boolean |
isLeaf()
Always returns true since a scope node has no children. |
java.lang.StringBuffer |
printToBuffer(java.lang.StringBuffer buf)
Recursively appends this String representation of this node and its descendents in prefix notation to a buffer. |
| Methods inherited from class org.apache.directory.shared.ldap.filter.AbstractExprNode |
|---|
equals, get, getAnnotations, getAssertionType, getOperationString, set |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ScopeNode(DerefAliasesEnum derefAliases,
java.lang.String baseDn,
int scope)
derefAliases - the alias dereferencing modebaseDn - the search basescope - the search scope
public ScopeNode(java.util.Map env,
java.lang.String baseDn,
int scope)
env - the JNDI environment from which to extract the alias
dereferencing modebaseDn - the search basescope - the search scope| Method Detail |
|---|
public boolean isLeaf()
ExprNode.isLeaf()public int getScope()
SearchControls.OBJECT_SCOPE,
SearchControls.ONELEVEL_SCOPE,
SearchControls.SUBTREE_SCOPEpublic java.lang.String getBaseDn()
public DerefAliasesEnum getDerefAliases()
public java.lang.StringBuffer printToBuffer(java.lang.StringBuffer buf)
ExprNode
buf - the buffer to append to.ExprNode.printToBuffer(StringBuffer)public void accept(FilterVisitor visitor)
ExprNode
visitor - the filter expression tree structure visitorExprNode.accept(
org.apache.directory.shared.ldap.filter.FilterVisitor)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||