Class ElementUtils

java.lang.Object
se.liu.ida.hefquin.jenaext.sparql.syntax.ElementUtils

public class ElementUtils extends Object
This class provides useful functionality related to Jena's representation of graph patterns as Element objects.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.apache.jena.sparql.syntax.Element
    merge(org.apache.jena.graph.Triple tp, org.apache.jena.sparql.syntax.Element elmt)
    Merges the given triple pattern into the graph pattern represented by the given Element object, using join semantics.
    static org.apache.jena.sparql.syntax.Element
    merge(org.apache.jena.sparql.core.VarExprList exprs, org.apache.jena.sparql.syntax.Element elmt)
    Merges the given expressions as BIND clauses into the graph pattern represented by the given Element object.
    static org.apache.jena.sparql.syntax.Element
    merge(org.apache.jena.sparql.expr.ExprList exprs, org.apache.jena.sparql.syntax.Element elmt)
    Merges the given expressions as filters into the graph pattern represented by the given Element object.

    Methods inherited from class java.lang.Object

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

    • ElementUtils

      public ElementUtils()
  • Method Details

    • merge

      public static org.apache.jena.sparql.syntax.Element merge(org.apache.jena.sparql.expr.ExprList exprs, org.apache.jena.sparql.syntax.Element elmt)
      Merges the given expressions as filters into the graph pattern represented by the given Element object.
    • merge

      public static org.apache.jena.sparql.syntax.Element merge(org.apache.jena.sparql.core.VarExprList exprs, org.apache.jena.sparql.syntax.Element elmt)
      Merges the given expressions as BIND clauses into the graph pattern represented by the given Element object.
    • merge

      public static org.apache.jena.sparql.syntax.Element merge(org.apache.jena.graph.Triple tp, org.apache.jena.sparql.syntax.Element elmt)
      Merges the given triple pattern into the graph pattern represented by the given Element object, using join semantics.