public class CollectionFn extends SystemFunction implements Callable
CollectionFinder
. For the effect of the default
system-supplied CollectionURIResolver, see StandardCollectionFinder
Modifier and Type | Field and Description |
---|---|
static ResourceCollection |
EMPTY_COLLECTION
An empty collection
|
static String |
EMPTY_COLLECTION_URI
URI representing a collection that is always empty, regardless of any collection URI resolver
|
Constructor and Description |
---|
CollectionFn() |
Modifier and Type | Method and Description |
---|---|
Sequence |
call(XPathContext context,
Sequence[] arguments)
Dynamic call on collection() function
|
int |
getSpecialProperties(Expression[] arguments)
Determine the special properties of this function.
|
equals, export, exportAttributes, getArity, getCardinality, getContextNode, getDescription, getDetails, getErrorCodeForTypeErrors, getExpressionCompiler, getFunctionItemType, getFunctionName, getIntegerBounds, getOperandRoles, getRequiredType, getResultItemType, getResultItemType, getRetainedStaticContext, getStaticBaseUriString, getStreamingAdjunct, 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 static String EMPTY_COLLECTION_URI
public static final ResourceCollection EMPTY_COLLECTION
public int getSpecialProperties(Expression[] arguments)
SystemFunction
getSpecialProperties
in class SystemFunction
arguments
- the actual arguments supplied in a call to the functionpublic Sequence call(XPathContext context, Sequence[] arguments) throws XPathException
call
in interface Callable
call
in interface Function
context
- the dynamic evaluation contextarguments
- the values of the arguments, supplied as Sequences.XPathException
Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.