|
|||||||||||
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.AssertionNode
Node used for the application of arbitrary predicates on return candidates. Applies dynamic and programatic criteria for the selection of candidates for return. Nodes of this type may be introduced into the filter expression to provided the opportunity to constrain the search further without altering the search algorithm.
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 | |
AssertionNode(Assertion a_assertion)
Creates an AssertionNode using an arbitrary candidate assertion. |
|
AssertionNode(Assertion a_assertion,
java.lang.String a_desc)
Creates an AssertionNode using an arbitrary candidate assertion with a descriptions used for filter AST walker dumps. |
Method Summary | |
void |
accept(FilterVisitor a_visitor)
Element/node accept method for visitor pattern. |
Assertion |
getAssertion()
Gets the Assertion used by this assertion node. |
boolean |
isLeaf()
Always returns true since an AssertionNode has no children. |
java.lang.StringBuffer |
printToBuffer(java.lang.StringBuffer a_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 AssertionNode(Assertion a_assertion)
a_assertion
- the arbitrary selection logic.public AssertionNode(Assertion a_assertion, java.lang.String a_desc)
a_assertion
- the arbitrary selection logic.a_desc
- the printout representation for filter prints.Method Detail |
public Assertion getAssertion()
public boolean isLeaf()
ExprNode.isLeaf()
public java.lang.StringBuffer printToBuffer(java.lang.StringBuffer a_buf)
ExprNode
a_buf
- the buffer to append to.ExprNode.printToBuffer(java.lang.StringBuffer)
public void accept(FilterVisitor a_visitor)
ExprNode
a_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 |