
net.sf.saxon.sort
Class FixedSortKeyDefinition
java.lang.Object
|
+--net.sf.saxon.sort.SortKeyDefinition
|
+--net.sf.saxon.sort.FixedSortKeyDefinition
- All Implemented Interfaces:
- java.io.Serializable
- public class FixedSortKeyDefinition
- extends SortKeyDefinition
A FixedSortKeyDefinition is a SortKeyDefinition in which all aspects of the
sort key definition (sort order, data type, etc,) are known.
A SortKeyDefinition defines one component of a sort key.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FixedSortKeyDefinition
public FixedSortKeyDefinition()
simplify
public SortKeyDefinition simplify()
throws XPathException
- Overrides:
simplify in class SortKeyDefinition
XPathException
reduce
public FixedSortKeyDefinition reduce(XPathContext context)
throws XPathException
- Eliminate dependencies of the sort key definition on the context. For the sort key select
expression, this means things that don't depend on the individual node: specifically, variables
and current-group(). For the AVTs used to select data type, case order, language, it means
all dependencies: after reduction, these values will be constants.
- Overrides:
reduce in class SortKeyDefinition
XPathException
bindComparer
public void bindComparer()
throws XPathException
- Allocate a resusable Comparer to implement this sort key comparison
XPathException
getComparer
public java.util.Comparator getComparer(XPathContext context)
throws XPathException
- Get the comparer which is used to compare two values according to this sort key.
XPathException
Stylus Studio features integrated development and debugging support for Saxon in the XQuery editor and XSLT editor.