com.hp.hpl.jena.sparql.function.user
Class UserDefinedFunctionDefinition

java.lang.Object
  extended by com.hp.hpl.jena.sparql.function.user.UserDefinedFunctionDefinition
Direct Known Subclasses:
UserDefinedFunction

public class UserDefinedFunctionDefinition
extends Object

Represents the definition of a user defined function


Field Summary
static boolean warnOnUnusedVariable
          Whether to log warnings for unused variables
 
Constructor Summary
UserDefinedFunctionDefinition(String uri, Expr e, List<Var> argList)
          Creates a user defined function definition
 
Method Summary
 List<Var> getArgList()
          Gets the argument list
 Expr getBaseExpr()
          Gets the base expression
 String getUri()
          Gets the function URI
 Function newFunctionInstance()
          Gets an instance of an actual Function that can be used to evaluate this function
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

warnOnUnusedVariable

public static boolean warnOnUnusedVariable
Whether to log warnings for unused variables

Constructor Detail

UserDefinedFunctionDefinition

public UserDefinedFunctionDefinition(String uri,
                                     Expr e,
                                     List<Var> argList)
Creates a user defined function definition

Parameters:
uri - Function URL
e - Expression
argList - Arguments
Method Detail

getBaseExpr

public Expr getBaseExpr()
Gets the base expression

Returns:
Expression

getArgList

public List<Var> getArgList()
Gets the argument list

Returns:
Arguments

getUri

public String getUri()
Gets the function URI

Returns:
URI

newFunctionInstance

public Function newFunctionInstance()
Gets an instance of an actual Function that can be used to evaluate this function

Returns:
Function instance


Licenced under the Apache License, Version 2.0