Package net.sf.saxon.expr
Interface CallableExpression
-
- All Known Implementing Classes:
Adjust,ArithmeticExpression10,Average,BaseURI,BooleanFn,CodepointEqual,Collection,Compare,Contains,CurrentDateTime,CurrentGroup,CurrentGroupingKey,DeepEqual,DistinctValues,Doc,DocumentFn,DocumentUriFn,ElementAvailable,Error,EscapeURI,FormatDate,FormatNumber,FunctionArity,FunctionAvailable,FunctionName,GeneralComparison,GeneralComparison10,GeneralComparison20,Id,Idref,IndexOf,InScopePrefixes,Insert,IntegratedFunctionCall,Lang,NamespaceForPrefix,Nilled,NormalizeUnicode,Remove,Replace,ResolveQName,ResolveURI,Reverse,SimpleExpression,StringToCodepoints,Subsequence,SystemProperty,Tokenize,Trace,TreatFn,TypeAvailable,UnparsedEntity,UnparsedText,UnparsedTextAvailable,UnparsedTextLines,UriCollection,XPathFunctionCall
public interface CallableExpressionA generic interface for calling expressions by supplying the values of their subexpressions
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SequenceIterator<? extends Item>call(SequenceIterator<? extends Item>[] arguments, XPathContext context)Evaluate the expressionExpression[]getArguments()Get the subexpressions (arguments to this expression)
-
-
-
Method Detail
-
getArguments
Expression[] getArguments()
Get the subexpressions (arguments to this expression)- Returns:
- the arguments, as an array
-
call
SequenceIterator<? extends Item> call(SequenceIterator<? extends Item>[] arguments, XPathContext context) throws XPathException
Evaluate the expression- Parameters:
arguments- the values of the arguments, supplied as SequenceIteratorscontext- the dynamic evaluation context- Returns:
- the result of the evaluation, in the form of a SequenceIterator
- Throws:
XPathException- if a dynamic error occurs during the evaluation of the expression
-
-