|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ExprNode
Root expression node interface which all expression nodes in the filter expression tree implement.
| Method Summary | |
|---|---|
java.lang.Object |
accept(FilterVisitor visitor)
Element/node accept method for visitor pattern. |
ExprNode |
clone()
Clone the object |
java.lang.Object |
get(java.lang.Object key)
Gets an annotation on the tree by key. |
AssertionType |
getAssertionType()
Gets the assertion type of this node. |
boolean |
isLeaf()
Tests to see if this node is a leaf or branch node. |
java.lang.StringBuilder |
printRefinementToBuffer(java.lang.StringBuilder buf)
Recursively appends the refinement string representation of this node and its descendants in prefix notation to a buffer. |
void |
set(java.lang.String key,
java.lang.Object value)
Sets a annotation key to a value. |
| Method Detail |
|---|
java.lang.Object get(java.lang.Object key)
key - the annotation key.
void set(java.lang.String key,
java.lang.Object value)
key - the annotation key.value - the annotation value.boolean isLeaf()
AssertionType getAssertionType()
java.lang.StringBuilder printRefinementToBuffer(java.lang.StringBuilder buf)
buf - the buffer to append to.
java.lang.UnsupportedOperationException - if this node isn't a part of a refinement.java.lang.Object accept(FilterVisitor visitor)
visitor - the filter expression tree structure visitor
TODO - what is this modified element ?
ExprNode clone()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||