Class ST_Format
java.lang.Object
fr.mines_stetienne.ci.sparql_generate.function.library.ST_Format
- All Implemented Interfaces:
org.apache.jena.sparql.function.Function
Function st:format
formats its arguments, as in STTL.
- Param 1: the format, a string, or the IRI of a document that contains the format;
- Params 2 .. N: the values, each written as its unquoted string where the
format has %s, as with
String.format(String, Object...).
- Author:
- Maxime Lefrançois
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidbuild(String uri, org.apache.jena.sparql.expr.ExprList args, org.apache.jena.sparql.util.Context context) org.apache.jena.sparql.expr.NodeValueexec(List<org.apache.jena.sparql.expr.NodeValue> args, org.apache.jena.sparql.function.FunctionEnv env) org.apache.jena.sparql.expr.NodeValueexec(org.apache.jena.sparql.engine.binding.Binding binding, org.apache.jena.sparql.expr.ExprList args, String uri, org.apache.jena.sparql.function.FunctionEnv env)
-
Field Details
-
URI
-
-
Constructor Details
-
ST_Format
public ST_Format()
-
-
Method Details
-
build
public final void build(String uri, org.apache.jena.sparql.expr.ExprList args, org.apache.jena.sparql.util.Context context) - Specified by:
buildin interfaceorg.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:
execin interfaceorg.apache.jena.sparql.function.Function
-
exec
public org.apache.jena.sparql.expr.NodeValue exec(List<org.apache.jena.sparql.expr.NodeValue> args, org.apache.jena.sparql.function.FunctionEnv env)
-