Class E_JsonNashorn

java.lang.Object
org.apache.jena.sparql.function.FunctionBase
org.aksw.jena_sparql_api.sparql.ext.json.E_JsonNashorn
All Implemented Interfaces:
org.apache.jena.sparql.function.Function

public class E_JsonNashorn extends org.apache.jena.sparql.function.FunctionBase
  • Field Details

    • engine

      protected ScriptEngine engine
    • gson

      protected com.google.gson.Gson gson
    • jsonParse

      protected Object jsonParse
    • jsonStringify

      protected Object jsonStringify
    • implicit

      protected boolean implicit
  • Constructor Details

  • Method Details

    • create

      public static E_JsonNashorn create() throws ScriptException
      Throws:
      ScriptException
    • call

      public static Object call(ScriptEngine engine, Object fn, Iterable<Object> args)
    • call

      public static Object call(ScriptEngine engine, Object fn, Object... args)
    • exec

      public org.apache.jena.sparql.expr.NodeValue exec(List<org.apache.jena.sparql.expr.NodeValue> args)
      Specified by:
      exec in class org.apache.jena.sparql.function.FunctionBase
    • functionString

      protected String functionString(String str, int argc)
    • checkBuild

      public void checkBuild(String uri, org.apache.jena.sparql.expr.ExprList args)
      Specified by:
      checkBuild in class org.apache.jena.sparql.function.FunctionBase