java.lang.Object
org.apache.jena.sparql.function.FunctionBase
org.apache.jena.sparql.function.FunctionBase2
org.aksw.jena_sparql_api.sparql.ext.xml.E_XPath
All Implemented Interfaces:
org.apache.jena.sparql.function.Function

public class E_XPath extends org.apache.jena.sparql.function.FunctionBase2
Use the property function ?s xml:unnest (xpathexpr ?o) for dealing with (/iterating) NodeList Use the function xml:path(?doc, pathexpr) to extract individual values
Author:
raven Mar 2, 2018
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected XPathFactory
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    E_XPath(XPathFactory xPathFactory)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.jena.sparql.expr.NodeValue
    exec(org.apache.jena.sparql.expr.NodeValue nv, org.apache.jena.sparql.expr.NodeValue query)
     

    Methods inherited from class org.apache.jena.sparql.function.FunctionBase2

    checkBuild, exec

    Methods inherited from class org.apache.jena.sparql.function.FunctionBase

    build, exec, exec

    Methods inherited from class java.lang.Object

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

  • Constructor Details

    • E_XPath

      public E_XPath()
    • E_XPath

      public E_XPath(XPathFactory xPathFactory)
  • Method Details

    • exec

      public org.apache.jena.sparql.expr.NodeValue exec(org.apache.jena.sparql.expr.NodeValue nv, org.apache.jena.sparql.expr.NodeValue query)
      Specified by:
      exec in class org.apache.jena.sparql.function.FunctionBase2