|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface QueryNode
A QueryNode
is a interface implemented by all nodes on a QueryNode
tree.
Method Summary | |
---|---|
void |
add(List<QueryNode> children)
|
void |
add(QueryNode child)
|
QueryNode |
cloneTree()
Recursive clone the QueryNode tree The tags are not copied to the new tree when you call the cloneTree() method |
boolean |
containsTag(String tagName)
verify if a node contains a tag |
List<QueryNode> |
getChildren()
get Children nodes |
QueryNode |
getParent()
|
Object |
getTag(String tagName)
Returns object stored under that tag name |
Map<String,Object> |
getTagMap()
Returns a map containing all tags attached to this query node. |
boolean |
isLeaf()
verify if a node is a Leaf node |
void |
set(List<QueryNode> children)
|
void |
setTag(String tagName,
Object value)
Associate the specified value with the specified tagName. |
CharSequence |
toQueryString(EscapeQuerySyntax escapeSyntaxParser)
convert to a query string understood by the query parser |
String |
toString()
for printing |
void |
unsetTag(String tagName)
Unset a tag. |
Method Detail |
---|
CharSequence toQueryString(EscapeQuerySyntax escapeSyntaxParser)
String toString()
toString
in class Object
List<QueryNode> getChildren()
boolean isLeaf()
boolean containsTag(String tagName)
Object getTag(String tagName)
QueryNode getParent()
QueryNode cloneTree() throws CloneNotSupportedException
CloneNotSupportedException
void add(QueryNode child)
void add(List<QueryNode> children)
void set(List<QueryNode> children)
void setTag(String tagName, Object value)
void unsetTag(String tagName)
Map<String,Object> getTagMap()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |