public interface ExprNode
extends java.lang.Cloneable
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
accept(FilterVisitor visitor)
Element/node accept method for visitor pattern.
|
ExprNode |
clone()
Clone this expression node.
|
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.
|
boolean |
isSchemaAware()
Tells if this Node is Schema aware.
|
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.
|
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()
boolean isSchemaAware()
AssertionType getAssertionType()
java.lang.StringBuilder printRefinementToBuffer(java.lang.StringBuilder buf)
throws java.lang.UnsupportedOperationException
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()