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

    Constructors
    Constructor
    Description
    PathRewriter(Map<org.apache.jena.sparql.core.Var,org.apache.jena.graph.Node> values)
    Constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    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)
     

    Methods inherited from class org.apache.jena.arq.querybuilder.rewriters.AbstractRewriter

    getResult, rewrite, rewrite, rewrite, rewrite

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PathRewriter

      public PathRewriter(Map<org.apache.jena.sparql.core.Var,org.apache.jena.graph.Node> values)
      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 interface org.apache.jena.sparql.path.PathVisitor
    • visit

      public void visit(org.apache.jena.sparql.path.P_ReverseLink pathNode)
      Specified by:
      visit in interface org.apache.jena.sparql.path.PathVisitor
    • visit

      public void visit(org.apache.jena.sparql.path.P_NegPropSet pathNotOneOf)
      Specified by:
      visit in interface org.apache.jena.sparql.path.PathVisitor
    • visit

      public void visit(org.apache.jena.sparql.path.P_Inverse inversePath)
      Specified by:
      visit in interface org.apache.jena.sparql.path.PathVisitor
    • visit

      public void visit(org.apache.jena.sparql.path.P_Mod pathMod)
      Specified by:
      visit in interface org.apache.jena.sparql.path.PathVisitor
    • visit

      public void visit(org.apache.jena.sparql.path.P_FixedLength pFixedLength)
      Specified by:
      visit in interface org.apache.jena.sparql.path.PathVisitor
    • visit

      public void visit(org.apache.jena.sparql.path.P_Alt pathAlt)
      Specified by:
      visit in interface org.apache.jena.sparql.path.PathVisitor
    • visit

      public void visit(org.apache.jena.sparql.path.P_Seq pathSeq)
      Specified by:
      visit in interface org.apache.jena.sparql.path.PathVisitor
    • visit

      public void visit(org.apache.jena.sparql.path.P_Distinct pathDistinct)
      Specified by:
      visit in interface org.apache.jena.sparql.path.PathVisitor
    • visit

      public void visit(org.apache.jena.sparql.path.P_Multi pathMulti)
      Specified by:
      visit in interface org.apache.jena.sparql.path.PathVisitor
    • visit

      public void visit(org.apache.jena.sparql.path.P_Shortest pathShortest)
      Specified by:
      visit in interface org.apache.jena.sparql.path.PathVisitor
    • visit

      public void visit(org.apache.jena.sparql.path.P_ZeroOrOne path)
      Specified by:
      visit in interface org.apache.jena.sparql.path.PathVisitor
    • visit

      public void visit(org.apache.jena.sparql.path.P_ZeroOrMore1 path)
      Specified by:
      visit in interface org.apache.jena.sparql.path.PathVisitor
    • visit

      public void visit(org.apache.jena.sparql.path.P_ZeroOrMoreN path)
      Specified by:
      visit in interface org.apache.jena.sparql.path.PathVisitor
    • visit

      public void visit(org.apache.jena.sparql.path.P_OneOrMore1 path)
      Specified by:
      visit in interface org.apache.jena.sparql.path.PathVisitor
    • visit

      public void visit(org.apache.jena.sparql.path.P_OneOrMoreN path)
      Specified by:
      visit in interface org.apache.jena.sparql.path.PathVisitor