Module org.apache.jena.querybuilder
Class PathRewriter
java.lang.Object
org.apache.jena.arq.querybuilder.rewriters.AbstractRewriter<org.apache.jena.sparql.path.Path>
org.apache.jena.arq.querybuilder.rewriters.PathRewriter
- All Implemented Interfaces:
org.apache.jena.sparql.path.PathVisitor
public class PathRewriter
extends AbstractRewriter<org.apache.jena.sparql.path.Path>
implements org.apache.jena.sparql.path.PathVisitor
A rewriter that implements PathVisitor.
-
Constructor Summary
ConstructorDescriptionPathRewriter
(Map<org.apache.jena.sparql.core.Var, org.apache.jena.graph.Node> values) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoid
visit
(org.apache.jena.sparql.path.P_Alt pathAlt) void
visit
(org.apache.jena.sparql.path.P_Distinct pathDistinct) void
visit
(org.apache.jena.sparql.path.P_FixedLength pFixedLength) void
visit
(org.apache.jena.sparql.path.P_Inverse inversePath) void
visit
(org.apache.jena.sparql.path.P_Link pathNode) void
visit
(org.apache.jena.sparql.path.P_Mod pathMod) void
visit
(org.apache.jena.sparql.path.P_Multi pathMulti) void
visit
(org.apache.jena.sparql.path.P_NegPropSet pathNotOneOf) void
visit
(org.apache.jena.sparql.path.P_OneOrMore1 path) void
visit
(org.apache.jena.sparql.path.P_OneOrMoreN path) void
visit
(org.apache.jena.sparql.path.P_ReverseLink pathNode) void
visit
(org.apache.jena.sparql.path.P_Seq pathSeq) void
visit
(org.apache.jena.sparql.path.P_Shortest pathShortest) void
visit
(org.apache.jena.sparql.path.P_ZeroOrMore1 path) void
visit
(org.apache.jena.sparql.path.P_ZeroOrMoreN path) void
visit
(org.apache.jena.sparql.path.P_ZeroOrOne path)
-
Constructor Details
-
PathRewriter
Constructor.- Parameters:
values
- The values to replace.
-
-
Method Details
-
visit
public void visit(org.apache.jena.sparql.path.P_Link pathNode) - Specified by:
visit
in interfaceorg.apache.jena.sparql.path.PathVisitor
-
visit
public void visit(org.apache.jena.sparql.path.P_ReverseLink pathNode) - Specified by:
visit
in interfaceorg.apache.jena.sparql.path.PathVisitor
-
visit
public void visit(org.apache.jena.sparql.path.P_NegPropSet pathNotOneOf) - Specified by:
visit
in interfaceorg.apache.jena.sparql.path.PathVisitor
-
visit
public void visit(org.apache.jena.sparql.path.P_Inverse inversePath) - Specified by:
visit
in interfaceorg.apache.jena.sparql.path.PathVisitor
-
visit
public void visit(org.apache.jena.sparql.path.P_Mod pathMod) - Specified by:
visit
in interfaceorg.apache.jena.sparql.path.PathVisitor
-
visit
public void visit(org.apache.jena.sparql.path.P_FixedLength pFixedLength) - Specified by:
visit
in interfaceorg.apache.jena.sparql.path.PathVisitor
-
visit
public void visit(org.apache.jena.sparql.path.P_Alt pathAlt) - Specified by:
visit
in interfaceorg.apache.jena.sparql.path.PathVisitor
-
visit
public void visit(org.apache.jena.sparql.path.P_Seq pathSeq) - Specified by:
visit
in interfaceorg.apache.jena.sparql.path.PathVisitor
-
visit
public void visit(org.apache.jena.sparql.path.P_Distinct pathDistinct) - Specified by:
visit
in interfaceorg.apache.jena.sparql.path.PathVisitor
-
visit
public void visit(org.apache.jena.sparql.path.P_Multi pathMulti) - Specified by:
visit
in interfaceorg.apache.jena.sparql.path.PathVisitor
-
visit
public void visit(org.apache.jena.sparql.path.P_Shortest pathShortest) - Specified by:
visit
in interfaceorg.apache.jena.sparql.path.PathVisitor
-
visit
public void visit(org.apache.jena.sparql.path.P_ZeroOrOne path) - Specified by:
visit
in interfaceorg.apache.jena.sparql.path.PathVisitor
-
visit
public void visit(org.apache.jena.sparql.path.P_ZeroOrMore1 path) - Specified by:
visit
in interfaceorg.apache.jena.sparql.path.PathVisitor
-
visit
public void visit(org.apache.jena.sparql.path.P_ZeroOrMoreN path) - Specified by:
visit
in interfaceorg.apache.jena.sparql.path.PathVisitor
-
visit
public void visit(org.apache.jena.sparql.path.P_OneOrMore1 path) - Specified by:
visit
in interfaceorg.apache.jena.sparql.path.PathVisitor
-
visit
public void visit(org.apache.jena.sparql.path.P_OneOrMoreN path) - Specified by:
visit
in interfaceorg.apache.jena.sparql.path.PathVisitor
-