org.openanzo.glitter.expression
Interface FunctionOnValues

All Superinterfaces:
Function
All Known Implementing Classes:
BinaryFunction, BooleanEq, BooleanGe, BooleanGt, BooleanLe, BooleanLt, BooleanNe, Datatype, DateTimeEq, DateTimeGe, DateTimeGt, DateTimeLe, DateTimeLt, DateTimeNe, IsBlank, IsIRI, IsLiteral, Lang, LangMatches, Not, NumericAdd, NumericDivide, NumericEq, NumericGe, NumericGt, NumericLe, NumericLt, NumericMultiply, NumericNe, NumericSubtract, PolymorphicEq, PolymorphicFunction, PolymorphicGe, PolymorphicGt, PolymorphicLe, PolymorphicLt, PolymorphicNe, RDFTermEq, RDFTermNe, RegEx, SameTerm, Str, StringLiteralGe, StringLiteralGt, StringLiteralLe, StringLiteralLt, UnaryFunction, UnaryMinus, UnaryPlus, XSDDouble, XSDInteger, XSDString

public interface FunctionOnValues
extends Function

Interface for Functions that return true for Function.operatesOnValues(). These functions are supplied with a list of RDFTerms as arguments.

Author:
lee

Method Summary
 RDFTerm call(java.util.List<RDFTerm> arguments)
          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<RDFTerm> arguments)
             throws ExpressionEvaluationException
Invokes the function and determines a return value.

Parameters:
arguments - The (evaluated) RDF terms being passed to the function
Returns:
The result of evaluating this function against the given arguments
Throws:
ExpressionEvaluationException - For invalid types, or other expression evalutaion problems


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