net.sf.saxon.sort

Interface SortKeyEvaluator

Known Implementing Classes:
ForEachGroup, SortExpression, XPathExpressionImpl

public interface SortKeyEvaluator

Callback interface used to evaluate sort keys. An instance of this class is passed to the SortedIterator, and is used whenever a sort key value needs to be computed.

Method Summary

Item
evaluateSortKey(int n, XPathContext context)
Evaluate the n'th sort key

Method Details

evaluateSortKey

public Item evaluateSortKey(int n,
                            XPathContext context)
            throws XPathException
Evaluate the n'th sort key