|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.overlord.sramp.common.query.xpath.visitors.XPathSerializationVisitor
public class XPathSerializationVisitor
Visitor used to serialize a query to a string.
| Constructor Summary | |
|---|---|
XPathSerializationVisitor()
Default constructor. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XPathSerializationVisitor()
| Method Detail |
|---|
public void reset()
public String getXPath()
public void visit(AndExpr node)
XPathVisitor
visit in interface XPathVisitorXPathVisitor.visit(org.overlord.sramp.common.query.xpath.ast.AndExpr)public void visit(Argument node)
XPathVisitor
visit in interface XPathVisitorXPathVisitor.visit(org.overlord.sramp.common.query.xpath.ast.Argument)public void visit(ArtifactSet node)
XPathVisitor
visit in interface XPathVisitorXPathVisitor.visit(org.overlord.sramp.common.query.xpath.ast.ArtifactSet)public void visit(EqualityExpr node)
XPathVisitor
visit in interface XPathVisitorXPathVisitor.visit(org.overlord.sramp.common.query.xpath.ast.EqualityExpr)public void visit(Expr node)
XPathVisitor
visit in interface XPathVisitorXPathVisitor.visit(org.overlord.sramp.common.query.xpath.ast.Expr)public void visit(ForwardPropertyStep node)
XPathVisitor
visit in interface XPathVisitorXPathVisitor.visit(org.overlord.sramp.common.query.xpath.ast.ForwardPropertyStep)public void visit(FunctionCall node)
XPathVisitor
visit in interface XPathVisitorXPathVisitor.visit(org.overlord.sramp.common.query.xpath.ast.FunctionCall)public void visit(LocationPath node)
XPathVisitor
visit in interface XPathVisitorXPathVisitor.visit(org.overlord.sramp.common.query.xpath.ast.LocationPath)public void visit(OrExpr node)
XPathVisitor
visit in interface XPathVisitorXPathVisitor.visit(org.overlord.sramp.common.query.xpath.ast.OrExpr)public void visit(Predicate node)
XPathVisitor
visit in interface XPathVisitorXPathVisitor.visit(org.overlord.sramp.common.query.xpath.ast.Predicate)public void visit(PrimaryExpr node)
XPathVisitor
visit in interface XPathVisitorXPathVisitor.visit(org.overlord.sramp.common.query.xpath.ast.PrimaryExpr)public void visit(Query node)
XPathVisitor
visit in interface XPathVisitorXPathVisitor.visit(org.overlord.sramp.common.query.xpath.ast.Query)public void visit(RelationshipPath node)
XPathVisitor
visit in interface XPathVisitorXPathVisitor.visit(org.overlord.sramp.common.query.xpath.ast.RelationshipPath)public void visit(SubartifactSet node)
XPathVisitor
visit in interface XPathVisitorXPathVisitor.visit(org.overlord.sramp.common.query.xpath.ast.SubartifactSet)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||