public class QueryTreeDump extends java.lang.Object implements QueryNodeVisitor
QueryNode
tree to a StringBuffer.Modifier and Type | Method and Description |
---|---|
static void |
dump(QueryNode node,
java.lang.StringBuffer buffer)
Dumps a query node tree to the string
buffer . |
java.lang.Object |
visit(AndQueryNode node,
java.lang.Object data) |
java.lang.Object |
visit(DerefQueryNode node,
java.lang.Object data) |
java.lang.Object |
visit(ExactQueryNode node,
java.lang.Object data) |
java.lang.Object |
visit(LocationStepQueryNode node,
java.lang.Object data) |
java.lang.Object |
visit(NodeTypeQueryNode node,
java.lang.Object data) |
java.lang.Object |
visit(NotQueryNode node,
java.lang.Object data) |
java.lang.Object |
visit(OrderQueryNode node,
java.lang.Object data) |
java.lang.Object |
visit(OrQueryNode node,
java.lang.Object data) |
java.lang.Object |
visit(PathQueryNode node,
java.lang.Object data) |
java.lang.Object |
visit(PropertyFunctionQueryNode node,
java.lang.Object data) |
java.lang.Object |
visit(QueryRootNode node,
java.lang.Object data) |
java.lang.Object |
visit(RelationQueryNode node,
java.lang.Object data) |
java.lang.Object |
visit(TextsearchQueryNode node,
java.lang.Object data) |
public static void dump(QueryNode node, java.lang.StringBuffer buffer) throws RepositoryException
buffer
.node
- the root node of a query tree.buffer
- a string buffer where to dump the tree structure.RepositoryException
public java.lang.Object visit(QueryRootNode node, java.lang.Object data) throws RepositoryException
visit
in interface QueryNodeVisitor
RepositoryException
public java.lang.Object visit(OrQueryNode node, java.lang.Object data) throws RepositoryException
visit
in interface QueryNodeVisitor
RepositoryException
public java.lang.Object visit(AndQueryNode node, java.lang.Object data) throws RepositoryException
visit
in interface QueryNodeVisitor
RepositoryException
public java.lang.Object visit(NotQueryNode node, java.lang.Object data) throws RepositoryException
visit
in interface QueryNodeVisitor
RepositoryException
public java.lang.Object visit(ExactQueryNode node, java.lang.Object data)
visit
in interface QueryNodeVisitor
public java.lang.Object visit(NodeTypeQueryNode node, java.lang.Object data)
visit
in interface QueryNodeVisitor
public java.lang.Object visit(TextsearchQueryNode node, java.lang.Object data)
visit
in interface QueryNodeVisitor
public java.lang.Object visit(PathQueryNode node, java.lang.Object data) throws RepositoryException
visit
in interface QueryNodeVisitor
RepositoryException
public java.lang.Object visit(LocationStepQueryNode node, java.lang.Object data) throws RepositoryException
visit
in interface QueryNodeVisitor
RepositoryException
public java.lang.Object visit(RelationQueryNode node, java.lang.Object data) throws RepositoryException
visit
in interface QueryNodeVisitor
RepositoryException
public java.lang.Object visit(OrderQueryNode node, java.lang.Object data)
visit
in interface QueryNodeVisitor
public java.lang.Object visit(DerefQueryNode node, java.lang.Object data) throws RepositoryException
visit
in interface QueryNodeVisitor
RepositoryException
public java.lang.Object visit(PropertyFunctionQueryNode node, java.lang.Object data)
visit
in interface QueryNodeVisitor
Copyright © 2010 - 2020 Adobe. All Rights Reserved