public class AttributeCollectorVisitor extends OXPathVisitorGenericAdaptor<AttributeCollectorVisitor.MyData,CustomSimpleNode>
String
objects that are encoded as AST
trees.Modifier and Type | Class and Description |
---|---|
static class |
AttributeCollectorVisitor.MyData |
Constructor and Description |
---|
AttributeCollectorVisitor()
Empty constructor
|
Modifier and Type | Method and Description |
---|---|
String |
getResult() |
CustomSimpleNode |
visitNode(ASTBinaryOpExpr node,
AttributeCollectorVisitor.MyData data)
Constructs the
String representation of the subtree rooted at node |
CustomSimpleNode |
visitNode(ASTExpression node,
AttributeCollectorVisitor.MyData data)
Constructs the
String representation of the subtree rooted at node |
CustomSimpleNode |
visitNode(ASTOXPathActionPath node,
AttributeCollectorVisitor.MyData data)
Constructs the
String representation of the subtree rooted at node |
CustomSimpleNode |
visitNode(ASTOXPathExtractionMarker node,
AttributeCollectorVisitor.MyData data)
Constructs the
String representation of the subtree rooted at node |
CustomSimpleNode |
visitNode(ASTOXPathKleeneStarPath node,
AttributeCollectorVisitor.MyData data)
Constructs the
String representation of the subtree rooted at node |
CustomSimpleNode |
visitNode(ASTOXPathNodeTestOp node,
AttributeCollectorVisitor.MyData data)
Constructs the
String representation of the subtree rooted at node |
CustomSimpleNode |
visitNode(ASTRelativeOXPathLocationPath node,
AttributeCollectorVisitor.MyData data)
Constructs the
String representation of the subtree rooted at node |
CustomSimpleNode |
visitNode(ASTSimpleOXPathStepPath node,
AttributeCollectorVisitor.MyData data)
Constructs the
String representation of the subtree rooted at node |
CustomSimpleNode |
visitNode(ASTXPathFunctionCall node,
AttributeCollectorVisitor.MyData data)
Constructs the
String representation of the subtree rooted at node |
CustomSimpleNode |
visitNode(ASTXPathLiteral node,
AttributeCollectorVisitor.MyData data)
Constructs the
String representation of the subtree rooted at node |
CustomSimpleNode |
visitNode(ASTXPathNumber node,
AttributeCollectorVisitor.MyData data)
Constructs the
String representation of the subtree rooted at node |
CustomSimpleNode |
visitNode(ASTXPathPathExpr node,
AttributeCollectorVisitor.MyData data)
Constructs the
String representation of the subtree rooted at node |
CustomSimpleNode |
visitNode(ASTXPathPredicate node,
AttributeCollectorVisitor.MyData data)
Constructs the
String representation of the subtree rooted at node |
CustomSimpleNode |
visitNode(ASTXPathPrimaryExpr node,
AttributeCollectorVisitor.MyData data)
Constructs the
String representation of the subtree rooted at node |
CustomSimpleNode |
visitNode(ASTXPathUnaryExpr node,
AttributeCollectorVisitor.MyData data)
Constructs the
String representation of the subtree rooted at node |
CustomSimpleNode |
visitNode(CustomSimpleNode node,
AttributeCollectorVisitor.MyData data)
Constructs the
String representation of the subtree rooted at node |
CustomSimpleNode |
visitNode(SimpleNode node,
AttributeCollectorVisitor.MyData data) |
public static final String SLASH
public CustomSimpleNode visitNode(CustomSimpleNode node, AttributeCollectorVisitor.MyData data) throws OXPathException
String
representation of the subtree rooted at node
visitNode
in class OXPathVisitorGenericAdaptor<AttributeCollectorVisitor.MyData,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(SimpleNode node, AttributeCollectorVisitor.MyData data) throws OXPathException
visitNode
in class OXPathVisitorGenericAdaptor<AttributeCollectorVisitor.MyData,CustomSimpleNode>
OXPathException
public CustomSimpleNode visitNode(ASTExpression node, AttributeCollectorVisitor.MyData data) throws OXPathException
String
representation of the subtree rooted at node
visitNode
in class OXPathVisitorGenericAdaptor<AttributeCollectorVisitor.MyData,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, AttributeCollectorVisitor.MyData data) throws OXPathException
String
representation of the subtree rooted at node
visitNode
in class OXPathVisitorGenericAdaptor<AttributeCollectorVisitor.MyData,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, AttributeCollectorVisitor.MyData data) throws OXPathException
String
representation of the subtree rooted at node
visitNode
in class OXPathVisitorGenericAdaptor<AttributeCollectorVisitor.MyData,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, AttributeCollectorVisitor.MyData data) throws OXPathException
String
representation of the subtree rooted at node
visitNode
in class OXPathVisitorGenericAdaptor<AttributeCollectorVisitor.MyData,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, AttributeCollectorVisitor.MyData data) throws OXPathException
String
representation of the subtree rooted at node
visitNode
in class OXPathVisitorGenericAdaptor<AttributeCollectorVisitor.MyData,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, AttributeCollectorVisitor.MyData data) throws OXPathException
String
representation of the subtree rooted at node
visitNode
in class OXPathVisitorGenericAdaptor<AttributeCollectorVisitor.MyData,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, AttributeCollectorVisitor.MyData data) throws OXPathException
String
representation of the subtree rooted at node
visitNode
in class OXPathVisitorGenericAdaptor<AttributeCollectorVisitor.MyData,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, AttributeCollectorVisitor.MyData data) throws OXPathException
String
representation of the subtree rooted at node
visitNode
in class OXPathVisitorGenericAdaptor<AttributeCollectorVisitor.MyData,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, AttributeCollectorVisitor.MyData data) throws OXPathException
String
representation of the subtree rooted at node
visitNode
in class OXPathVisitorGenericAdaptor<AttributeCollectorVisitor.MyData,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, AttributeCollectorVisitor.MyData data) throws OXPathException
String
representation of the subtree rooted at node
visitNode
in class OXPathVisitorGenericAdaptor<AttributeCollectorVisitor.MyData,CustomSimpleNode>
node
- the subtree root the visitor printsdata
- not used in this visitorString
representation of the expression subtree as determined by the visitorOXPathException
public String getResult()
public CustomSimpleNode visitNode(ASTXPathUnaryExpr node, AttributeCollectorVisitor.MyData data) throws OXPathException
String
representation of the subtree rooted at node
visitNode
in class OXPathVisitorGenericAdaptor<AttributeCollectorVisitor.MyData,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, AttributeCollectorVisitor.MyData data) throws OXPathException
String
representation of the subtree rooted at node
visitNode
in class OXPathVisitorGenericAdaptor<AttributeCollectorVisitor.MyData,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, AttributeCollectorVisitor.MyData data) throws OXPathException
String
representation of the subtree rooted at node
visitNode
in class OXPathVisitorGenericAdaptor<AttributeCollectorVisitor.MyData,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, AttributeCollectorVisitor.MyData data) throws OXPathException
String
representation of the subtree rooted at node
visitNode
in class OXPathVisitorGenericAdaptor<AttributeCollectorVisitor.MyData,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, AttributeCollectorVisitor.MyData data) throws OXPathException
String
representation of the subtree rooted at node
visitNode
in class OXPathVisitorGenericAdaptor<AttributeCollectorVisitor.MyData,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.