java.lang.Object
fr.mines_stetienne.ci.sparql_generate.function.library.FUN_PrefixedIRI
All Implemented Interfaces:
org.apache.jena.sparql.function.Function

public final class FUN_PrefixedIRI extends Object implements org.apache.jena.sparql.function.Function
Binding function fun:prefixedIRI takes as input a IRI, and returns the shortened IRI according to the prefixes in the query's prologue.
  • Param 1 (input) a IRI
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    build​(String uri, org.apache.jena.sparql.expr.ExprList args)
     
    org.apache.jena.sparql.expr.NodeValue
    exec​(org.apache.jena.sparql.engine.binding.Binding binding, org.apache.jena.sparql.expr.ExprList args, String uri, org.apache.jena.sparql.function.FunctionEnv env)
     

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.apache.jena.sparql.function.Function

    build
  • Field Details

  • Constructor Details

    • FUN_PrefixedIRI

      public FUN_PrefixedIRI()
  • Method Details

    • build

      public final void build(String uri, org.apache.jena.sparql.expr.ExprList args)
      Specified by:
      build in interface org.apache.jena.sparql.function.Function
    • exec

      public org.apache.jena.sparql.expr.NodeValue exec(org.apache.jena.sparql.engine.binding.Binding binding, org.apache.jena.sparql.expr.ExprList args, String uri, org.apache.jena.sparql.function.FunctionEnv env)
      Specified by:
      exec in interface org.apache.jena.sparql.function.Function
      Parameters:
      binding -
      args -
      uri -
      env -
      Returns: