public class DumpTreeVisitor extends OXPathVisitorGenericAdaptor<Object,String>
String objects that are encoded as AST
trees.| Constructor and Description |
|---|
DumpTreeVisitor(StringBuilder destination)
Empty constructor
|
| Modifier and Type | Method and Description |
|---|---|
String |
visitNode(ASTBinaryOpExpr node,
Object data)
Constructs the
String representation of the subtree rooted at node |
String |
visitNode(ASTExpression node,
Object data)
Constructs the
String representation of the subtree rooted at node |
String |
visitNode(ASTOXPathActionPath node,
Object data)
Constructs the
String representation of the subtree rooted at node |
String |
visitNode(ASTOXPathExtractionMarker node,
Object data)
Constructs the
String representation of the subtree rooted at node |
String |
visitNode(ASTOXPathKleeneStarPath node,
Object data)
Constructs the
String representation of the subtree rooted at node |
String |
visitNode(ASTOXPathNodeTestOp node,
Object data)
Constructs the
String representation of the subtree rooted at node |
String |
visitNode(ASTRelativeOXPathLocationPath node,
Object data)
Constructs the
String representation of the subtree rooted at node |
String |
visitNode(ASTSimpleOXPathStepPath node,
Object data)
Constructs the
String representation of the subtree rooted at node |
String |
visitNode(ASTXPathFunctionCall node,
Object data)
Constructs the
String representation of the subtree rooted at node |
String |
visitNode(ASTXPathLiteral node,
Object data)
Constructs the
String representation of the subtree rooted at node |
String |
visitNode(ASTXPathNumber node,
Object data)
Constructs the
String representation of the subtree rooted at node |
String |
visitNode(ASTXPathPathExpr node,
Object data)
Constructs the
String representation of the subtree rooted at node |
String |
visitNode(ASTXPathPredicate node,
Object data)
Constructs the
String representation of the subtree rooted at node |
String |
visitNode(ASTXPathPrimaryExpr node,
Object data)
Constructs the
String representation of the subtree rooted at node |
String |
visitNode(ASTXPathUnaryExpr node,
Object data)
Constructs the
String representation of the subtree rooted at node |
String |
visitNode(CustomSimpleNode node,
Object data)
Constructs the
String representation of the subtree rooted at node |
String |
visitNode(SimpleNode node,
Object data) |
public static final String SLASH
public DumpTreeVisitor(StringBuilder destination)
public String visitNode(CustomSimpleNode node, Object data) throws OXPathException
String representation of the subtree rooted at nodevisitNode in class OXPathVisitorGenericAdaptor<Object,String>node - the subtree root the visitor printsdata - not used in this visitorString representation of the expression subtree as determined by the visitorOXPathExceptionpublic String visitNode(SimpleNode node, Object data) throws OXPathException
visitNode in class OXPathVisitorGenericAdaptor<Object,String>OXPathExceptionpublic String visitNode(ASTExpression node, Object data) throws OXPathException
String representation of the subtree rooted at nodevisitNode in class OXPathVisitorGenericAdaptor<Object,String>node - the subtree root the visitor printsdata - not used in this visitorString representation of the expression subtree as determined by the visitorOXPathExceptionpublic String visitNode(ASTRelativeOXPathLocationPath node, Object data) throws OXPathException
String representation of the subtree rooted at nodevisitNode in class OXPathVisitorGenericAdaptor<Object,String>node - the subtree root the visitor printsdata - not used in this visitorString representation of the expression subtree as determined by the visitorOXPathExceptionpublic String visitNode(ASTSimpleOXPathStepPath node, Object data) throws OXPathException
String representation of the subtree rooted at nodevisitNode in class OXPathVisitorGenericAdaptor<Object,String>node - the subtree root the visitor printsdata - not used in this visitorString representation of the expression subtree as determined by the visitorOXPathExceptionpublic String visitNode(ASTOXPathKleeneStarPath node, Object data) throws OXPathException
String representation of the subtree rooted at nodevisitNode in class OXPathVisitorGenericAdaptor<Object,String>node - the subtree root the visitor printsdata - not used in this visitorString representation of the expression subtree as determined by the visitorOXPathExceptionpublic String visitNode(ASTOXPathActionPath node, Object data) throws OXPathException
String representation of the subtree rooted at nodevisitNode in class OXPathVisitorGenericAdaptor<Object,String>node - the subtree root the visitor printsdata - not used in this visitorString representation of the expression subtree as determined by the visitorOXPathExceptionpublic String visitNode(ASTOXPathNodeTestOp node, Object data) throws OXPathException
String representation of the subtree rooted at nodevisitNode in class OXPathVisitorGenericAdaptor<Object,String>node - the subtree root the visitor printsdata - not used in this visitorString representation of the expression subtree as determined by the visitorOXPathExceptionpublic String visitNode(ASTXPathLiteral node, Object data) throws OXPathException
String representation of the subtree rooted at nodevisitNode in class OXPathVisitorGenericAdaptor<Object,String>node - the subtree root the visitor printsdata - not used in this visitorString representation of the expression subtree as determined by the visitorOXPathExceptionpublic String visitNode(ASTXPathPredicate node, Object data) throws OXPathException
String representation of the subtree rooted at nodevisitNode in class OXPathVisitorGenericAdaptor<Object,String>node - the subtree root the visitor printsdata - not used in this visitorString representation of the expression subtree as determined by the visitorOXPathExceptionpublic String visitNode(ASTOXPathExtractionMarker node, Object data) throws OXPathException
String representation of the subtree rooted at nodevisitNode in class OXPathVisitorGenericAdaptor<Object,String>node - the subtree root the visitor printsdata - not used in this visitorString representation of the expression subtree as determined by the visitorOXPathExceptionpublic String visitNode(ASTBinaryOpExpr node, Object data) throws OXPathException
String representation of the subtree rooted at nodevisitNode in class OXPathVisitorGenericAdaptor<Object,String>node - the subtree root the visitor printsdata - not used in this visitorString representation of the expression subtree as determined by the visitorOXPathExceptionpublic String visitNode(ASTXPathUnaryExpr node, Object data) throws OXPathException
String representation of the subtree rooted at nodevisitNode in class OXPathVisitorGenericAdaptor<Object,String>node - the subtree root the visitor printsdata - not used in this visitorString representation of the expression subtree as determined by the visitorOXPathExceptionpublic String visitNode(ASTXPathPrimaryExpr node, Object data) throws OXPathException
String representation of the subtree rooted at nodevisitNode in class OXPathVisitorGenericAdaptor<Object,String>node - the subtree root the visitor printsdata - not used in this visitorString representation of the expression subtree as determined by the visitorOXPathExceptionpublic String visitNode(ASTXPathNumber node, Object data) throws OXPathException
String representation of the subtree rooted at nodevisitNode in class OXPathVisitorGenericAdaptor<Object,String>node - the subtree root the visitor printsdata - not used in this visitorString representation of the expression subtree as determined by the visitorOXPathExceptionpublic String visitNode(ASTXPathFunctionCall node, Object data) throws OXPathException
String representation of the subtree rooted at nodevisitNode in class OXPathVisitorGenericAdaptor<Object,String>node - the subtree root the visitor printsdata - not used in this visitorString representation of the expression subtree as determined by the visitorOXPathExceptionpublic String visitNode(ASTXPathPathExpr node, Object data) throws OXPathException
String representation of the subtree rooted at nodevisitNode in class OXPathVisitorGenericAdaptor<Object,String>node - the subtree root the visitor printsdata - not used in this visitorString representation of the expression subtree as determined by the visitorOXPathExceptionCopyright © 2020 OXPath Team. All rights reserved.