org.topbraid.spin.arq
Class SPINARQFunction
java.lang.Object
org.topbraid.spin.arq.SPINARQFunction
public class SPINARQFunction
- extends java.lang.Object
An ARQ function that delegates its functionality into a user-defined
SPIN function.
- Author:
- Holger Knublauch
Constructor Summary |
SPINARQFunction(Function spinFunction)
Constructs a new SPINARQFunction based on a given SPIN Function. |
Method Summary |
void |
build(java.lang.String uri,
ExprList args)
|
com.hp.hpl.jena.sparql.function.Function |
create(java.lang.String uri)
|
NodeValue |
exec(Binding binding,
ExprList args,
java.lang.String uri,
FunctionEnv env)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SPINARQFunction
public SPINARQFunction(Function spinFunction)
- Constructs a new SPINARQFunction based on a given SPIN Function.
The spinFunction model be associated with the Model containing
the triples of its definition.
- Parameters:
spinFunction
- the SPIN function
build
public void build(java.lang.String uri,
ExprList args)
create
public com.hp.hpl.jena.sparql.function.Function create(java.lang.String uri)
exec
public NodeValue exec(Binding binding,
ExprList args,
java.lang.String uri,
FunctionEnv env)