|
||||||||||
| 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.LeafNode
org.apache.directory.shared.ldap.filter.SimpleNode
public class SimpleNode
A simple assertion value node.
| 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 | |
|---|---|
SimpleNode(java.lang.String attribute,
byte[] value,
int type)
Creates a new SimpleNode object. |
|
SimpleNode(java.lang.String attribute,
java.lang.String value,
int type)
Creates a new SimpleNode object. |
|
| Method Summary | |
|---|---|
void |
accept(FilterVisitor visitor)
Element/node accept method for visitor pattern. |
boolean |
equals(java.lang.Object other)
|
java.lang.Object |
getValue()
Gets the value. |
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. |
void |
setValue(java.lang.Object value)
Sets the value of this node. |
java.lang.String |
toString()
|
| Methods inherited from class org.apache.directory.shared.ldap.filter.LeafNode |
|---|
getAttribute, isLeaf, setAttribute |
| Methods inherited from class org.apache.directory.shared.ldap.filter.AbstractExprNode |
|---|
get, getAnnotations, getAssertionType, getOperationString, set |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleNode(java.lang.String attribute,
byte[] value,
int type)
attribute - the attribute namevalue - the value to test fortype - the type of the assertion
public SimpleNode(java.lang.String attribute,
java.lang.String value,
int type)
attribute - the attribute namevalue - the value to test fortype - the type of the assertion| Method Detail |
|---|
public final java.lang.Object getValue()
public void setValue(java.lang.Object value)
value - the value for this nodepublic java.lang.StringBuffer printToBuffer(java.lang.StringBuffer buf)
ExprNode
buf - the buffer to append to.ExprNode.printToBuffer(
java.lang.StringBuffer)public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public void accept(FilterVisitor visitor)
ExprNode
visitor - the filter expression tree structure visitorExprNode.accept(
org.apache.directory.shared.ldap.filter.FilterVisitor)public boolean equals(java.lang.Object other)
equals in class LeafNode
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||