net.sf.saxon.functions

Class DistinctValues

public class DistinctValues extends CollatingFunction

The XPath 2.0 distinct-values() function
Nested Class Summary
static classDistinctValues.DistinctIterator
Iterator class to return the distinct values in a sequence
Method Summary
voidcheckArguments(ExpressionVisitor visitor)
AtomicComparergetAtomicComparer()
Get the AtomicComparer allocated at compile time.
SequenceIteratoriterate(XPathContext context)
Evaluate the function to return an iteration of selected values or nodes.

Method Detail

checkArguments

public void checkArguments(ExpressionVisitor visitor)

getAtomicComparer

public AtomicComparer getAtomicComparer()
Get the AtomicComparer allocated at compile time.

Returns: the AtomicComparer if one has been allocated at compile time; return null if the collation is not known until run-time

iterate

public SequenceIterator iterate(XPathContext context)
Evaluate the function to return an iteration of selected values or nodes.