|
||||||||||
| 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 | |
|---|---|
Object |
accept(FilterVisitor visitor)
Element/node accept method for visitor pattern. |
ExprNode |
clone()
Clone this expression node. |
Object |
get(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. |
boolean |
isSchemaAware()
Tells if this Node is Schema aware. |
StringBuilder |
printRefinementToBuffer(StringBuilder buf)
Recursively appends the refinement string representation of this node and its descendants in prefix notation to a buffer. |
void |
set(String key,
Object value)
Sets a annotation key to a value. |
| Method Detail |
|---|
Object get(Object key)
key - the annotation key.
void set(String key,
Object value)
key - the annotation key.value - the annotation value.boolean isLeaf()
boolean isSchemaAware()
AssertionType getAssertionType()
StringBuilder printRefinementToBuffer(StringBuilder buf)
throws UnsupportedOperationException
buf - the buffer to append to.
UnsupportedOperationException - if this node isn't a part of a refinement.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 | |||||||||