public class Sort_1 extends SystemFunction
Modifier and Type | Class and Description |
---|---|
static class |
Sort_1.ItemToBeSorted |
Constructor and Description |
---|
Sort_1() |
Modifier and Type | Method and Description |
---|---|
Sequence<?> |
call(XPathContext context,
Sequence[] arguments)
Evaluate the expression
|
protected Sequence<?> |
doSort(java.util.List<Sort_1.ItemToBeSorted> inputList,
StringCollator collation,
XPathContext context) |
protected java.util.List<Sort_1.ItemToBeSorted> |
getItemsToBeSorted(Sequence<?> input) |
dependsOnContextItem, dynamicCall, equals, export, exportAdditionalArguments, exportAttributes, fixArguments, getArity, getCardinality, getCompilerName, getContextNode, getDescription, getDetails, getErrorCodeForTypeErrors, getFunctionItemType, getFunctionName, getIntegerBounds, getNetCost, getOperandRoles, getRequiredType, getResultItemType, getResultItemType, getRetainedStaticContext, getSpecialProperties, getStaticBaseUriString, getStreamerName, importAttributes, isTrustedResultType, makeCall, makeFunction, makeFunctionCall, makeOptimizedFunctionCall, resultIfEmpty, setArity, setDetails, setRetainedStaticContext, supplyTypeInformation, toShortString, toString, typeCheckCaller
atomize, deepEquals, effectiveBooleanValue, getAnnotations, getStringValue, getStringValueCS, isArray, isMap, makeNewContext, simplify, typeCheck
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
argumentArray, getGenre
getLength, head, isStreamed, itemAt, iterate, iterator, reduce, subsequence, toGroundedValue
asIterable, materialize
makeRepeatable
public Sequence<?> call(XPathContext context, Sequence[] arguments) throws XPathException
context
- the dynamic evaluation contextarguments
- the values of the arguments, supplied as SequenceIteratorsXPathException
- if a dynamic error occurs during the evaluation of the expressionprotected java.util.List<Sort_1.ItemToBeSorted> getItemsToBeSorted(Sequence<?> input) throws XPathException
XPathException
protected Sequence<?> doSort(java.util.List<Sort_1.ItemToBeSorted> inputList, StringCollator collation, XPathContext context) throws XPathException
XPathException
Copyright (c) 2004-2020 Saxonica Limited. All rights reserved.