public class FoldLeftFn extends FoldingFunction
Modifier and Type | Class and Description |
---|---|
class |
FoldLeftFn.FoldLeftFold |
Constructor and Description |
---|
FoldLeftFn() |
Modifier and Type | Method and Description |
---|---|
Fold |
getFold(XPathContext context,
Sequence... arguments)
Create the Fold object which actually performs the evaluation.
|
ItemType |
getResultItemType(Expression[] args)
Get the return type, given knowledge of the actual arguments
|
call, getStreamingAdjunct
equals, export, exportAttributes, getArity, getCardinality, getContextNode, getDescription, getDetails, getErrorCodeForTypeErrors, getExpressionCompiler, getFunctionItemType, getFunctionName, getIntegerBounds, getOperandRoles, getRequiredType, getResultItemType, getRetainedStaticContext, getSpecialProperties, getStaticBaseUriString, importAttributes, makeCall, makeFunction, makeFunctionCall, makeOptimizedFunctionCall, resultIfEmpty, setArity, setDetails, setRetainedStaticContext, supplyTypeInformation, typeCheckCaller
atomize, deepEquals, effectiveBooleanValue, getStringValue, getStringValueCS, isArray, isMap, optimize, simplify, typeCheck
getLength, head, itemAt, iterate, reduce, subsequence
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getLength, head, itemAt, reduce, subsequence
public Fold getFold(XPathContext context, Sequence... arguments) throws XPathException
FoldingFunction
getFold
in class FoldingFunction
context
- the dynamic evaluation contextarguments
- the values of all arguments other than the first.XPathException
- if a dynamic error occurspublic ItemType getResultItemType(Expression[] args)
getResultItemType
in class SystemFunction
args
- the actual arguments suppliedCopyright (c) 2004-2014 Saxonica Limited. All rights reserved.