|
||||||||||
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(String attribute,
byte[] value,
int type)
Creates a new SimpleNode object. |
|
SimpleNode(String attribute,
String value,
int type)
Creates a new SimpleNode object. |
Method Summary | |
---|---|
void |
accept(FilterVisitor visitor)
Element/node accept method for visitor pattern. |
boolean |
equals(Object other)
|
Object |
getValue()
Gets the value. |
StringBuffer |
printToBuffer(StringBuffer buf)
Recursively appends this String representation of this node and its descendents in prefix notation to a buffer. |
void |
setValue(Object value)
Sets the value of this node. |
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(String attribute, byte[] value, int type)
attribute
- the attribute namevalue
- the value to test fortype
- the type of the assertionpublic SimpleNode(String attribute, String value, int type)
attribute
- the attribute namevalue
- the value to test fortype
- the type of the assertionMethod Detail |
---|
public final Object getValue()
public void setValue(Object value)
value
- the value for this nodepublic StringBuffer printToBuffer(StringBuffer buf)
ExprNode
buf
- the buffer to append to.ExprNode.printToBuffer(
java.lang.StringBuffer)
public String toString()
toString
in class Object
Object.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(Object other)
equals
in class LeafNode
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |