public class XPathSerializationVisitor extends Object implements XPathVisitor
Constructor and Description |
---|
XPathSerializationVisitor()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getXPath()
Returns the x-path created by this visitor.
|
void |
reset()
Resets the visitor back to an empty state.
|
void |
visit(AndExpr node)
Visits a specific x-path node.
|
void |
visit(Argument node)
Visits a specific x-path node.
|
void |
visit(ArtifactSet node)
Visits a specific x-path node.
|
void |
visit(EqualityExpr node)
Visits a specific x-path node.
|
void |
visit(Expr node)
Visits a specific x-path node.
|
void |
visit(ForwardPropertyStep node)
Visits a specific x-path node.
|
void |
visit(FunctionCall node)
Visits a specific x-path node.
|
void |
visit(LocationPath node)
Visits a specific x-path node.
|
void |
visit(OrExpr node)
Visits a specific x-path node.
|
void |
visit(Predicate node)
Visits a specific x-path node.
|
void |
visit(PrimaryExpr node)
Visits a specific x-path node.
|
void |
visit(Query node)
Visits a specific x-path node.
|
void |
visit(RelationshipPath node)
Visits a specific x-path node.
|
void |
visit(SubartifactSet node)
Visits a specific x-path node.
|
public XPathSerializationVisitor()
public void reset()
public String getXPath()
public void visit(AndExpr node)
XPathVisitor
visit
in interface XPathVisitor
XPathVisitor.visit(org.artificer.common.query.xpath.ast.AndExpr)
public void visit(Argument node)
XPathVisitor
visit
in interface XPathVisitor
XPathVisitor.visit(org.artificer.common.query.xpath.ast.Argument)
public void visit(ArtifactSet node)
XPathVisitor
visit
in interface XPathVisitor
XPathVisitor.visit(org.artificer.common.query.xpath.ast.ArtifactSet)
public void visit(EqualityExpr node)
XPathVisitor
visit
in interface XPathVisitor
XPathVisitor.visit(org.artificer.common.query.xpath.ast.EqualityExpr)
public void visit(Expr node)
XPathVisitor
visit
in interface XPathVisitor
XPathVisitor.visit(org.artificer.common.query.xpath.ast.Expr)
public void visit(ForwardPropertyStep node)
XPathVisitor
visit
in interface XPathVisitor
XPathVisitor.visit(org.artificer.common.query.xpath.ast.ForwardPropertyStep)
public void visit(FunctionCall node)
XPathVisitor
visit
in interface XPathVisitor
XPathVisitor.visit(org.artificer.common.query.xpath.ast.FunctionCall)
public void visit(LocationPath node)
XPathVisitor
visit
in interface XPathVisitor
XPathVisitor.visit(org.artificer.common.query.xpath.ast.LocationPath)
public void visit(OrExpr node)
XPathVisitor
visit
in interface XPathVisitor
XPathVisitor.visit(org.artificer.common.query.xpath.ast.OrExpr)
public void visit(Predicate node)
XPathVisitor
visit
in interface XPathVisitor
XPathVisitor.visit(org.artificer.common.query.xpath.ast.Predicate)
public void visit(PrimaryExpr node)
XPathVisitor
visit
in interface XPathVisitor
XPathVisitor.visit(org.artificer.common.query.xpath.ast.PrimaryExpr)
public void visit(Query node)
XPathVisitor
visit
in interface XPathVisitor
XPathVisitor.visit(org.artificer.common.query.xpath.ast.Query)
public void visit(RelationshipPath node)
XPathVisitor
visit
in interface XPathVisitor
XPathVisitor.visit(org.artificer.common.query.xpath.ast.RelationshipPath)
public void visit(SubartifactSet node)
XPathVisitor
visit
in interface XPathVisitor
XPathVisitor.visit(org.artificer.common.query.xpath.ast.SubartifactSet)
Copyright © 2011–2015 JBoss, a division of Red Hat. All rights reserved.