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