com.saxonica.functions.extfn
Class Sort
java.lang.Object
net.sf.saxon.lib.ExtensionFunctionDefinition
com.saxonica.functions.extfn.GeneralFilterFunction
com.saxonica.functions.extfn.Sort
- All Implemented Interfaces:
- Serializable
public class Sort
- extends GeneralFilterFunction
This class implements the saxon:sort() extension functions.
The first argument is a sequence S, the second a function F (defaulting to fn:data).
The function returns the item or items I in the input sequence S sorted on the result of
F(I). It is not possible to specify a collation; the default
collation is used when comparing strings.
- See Also:
- Serialized Form
Constructor Summary |
Sort()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Sort
public Sort()
getFunctionQName
public StructuredQName getFunctionQName()
- Get the function name, as a QName
- Specified by:
getFunctionQName
in class ExtensionFunctionDefinition
- Returns:
- the QName of the function
makeCallExpression
public ExtensionFunctionCall makeCallExpression()
- Create a call on this function. This method is called by the compiler when it identifies
a function call that calls this function.
- Specified by:
makeCallExpression
in class ExtensionFunctionDefinition
- Returns:
- an expression representing a call of this extension function
Copyright (c) 2004-2011 Saxonica Limited. All rights reserved.