org.openanzo.glitter.expression
Interface FunctionOnTerms

All Superinterfaces:
Function
All Known Implementing Classes:
Bound

public interface FunctionOnTerms
extends Function

Interface for Functions that return false for Function.operatesOnValues(). These functions are supplied with a list of Expressions and the current environment in which those expressions should be considered.

Author:
lee

Method Summary
 RDFTerm call(java.util.List<Expression> arguments, PatternSolution environment)
          Invokes the function and determines a return value.
 
Methods inherited from interface org.openanzo.glitter.expression.Function
getIdentifier, operatesOnTypeErrors, operatesOnValues
 

Method Detail

call

RDFTerm call(java.util.List<Expression> arguments,
             PatternSolution environment)
             throws ExpressionEvaluationException
Invokes the function and determines a return value.

Parameters:
arguments - The (unevaluated) expressions that are passed to the function in the query.
environment - The current solution being evaluated against
Returns:
The result of evaluating this function against the arguments in the given environment
Throws:
ExpressionEvaluationException - For invalid types, or other expression evalutaion problems


Copyright © 2007 Cambridge Semantics Inc.. All Rights Reserved.