org.topbraid.spin.arq
Class AbstractFunction

java.lang.Object
  extended by org.topbraid.spin.arq.AbstractFunction
All Implemented Interfaces:
com.hp.hpl.jena.sparql.function.Function
Direct Known Subclasses:
AbstractFunction0, AbstractFunction1, AbstractFunction2, AbstractFunction3, EvalFunction

public abstract class AbstractFunction
extends Object
implements com.hp.hpl.jena.sparql.function.Function

Base implementation of Function comparable to Jena's FunctionBase.

Author:
Holger Knublauch

Constructor Summary
AbstractFunction()
           
 
Method Summary
 void build(String uri, com.hp.hpl.jena.sparql.expr.ExprList args)
           
 com.hp.hpl.jena.sparql.expr.NodeValue exec(com.hp.hpl.jena.sparql.engine.binding.Binding binding, com.hp.hpl.jena.sparql.expr.ExprList args, String uri, com.hp.hpl.jena.sparql.function.FunctionEnv env)
           
protected abstract  com.hp.hpl.jena.sparql.expr.NodeValue exec(com.hp.hpl.jena.graph.Node[] nodes, com.hp.hpl.jena.sparql.function.FunctionEnv env)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractFunction

public AbstractFunction()
Method Detail

build

public void build(String uri,
                  com.hp.hpl.jena.sparql.expr.ExprList args)
Specified by:
build in interface com.hp.hpl.jena.sparql.function.Function

exec

public com.hp.hpl.jena.sparql.expr.NodeValue exec(com.hp.hpl.jena.sparql.engine.binding.Binding binding,
                                                  com.hp.hpl.jena.sparql.expr.ExprList args,
                                                  String uri,
                                                  com.hp.hpl.jena.sparql.function.FunctionEnv env)
Specified by:
exec in interface com.hp.hpl.jena.sparql.function.Function

exec

protected abstract com.hp.hpl.jena.sparql.expr.NodeValue exec(com.hp.hpl.jena.graph.Node[] nodes,
                                                              com.hp.hpl.jena.sparql.function.FunctionEnv env)


Copyright © 2011 TopQuadrant, Inc.. All Rights Reserved.