|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectnet.sf.saxon.expr.Expression
net.sf.saxon.expr.FunctionCall
net.sf.saxon.functions.SystemFunction
net.sf.saxon.functions.CollatingFunction
net.sf.saxon.functions.DistinctValues
public class DistinctValues
The XPath 2.0 distinct-values() function
| Nested Class Summary | |
|---|---|
static class |
DistinctValues.DistinctIterator
Iterator class to return the distinct values in a sequence |
| Field Summary |
|---|
| Fields inherited from class net.sf.saxon.functions.CollatingFunction |
|---|
stringCollator |
| Fields inherited from class net.sf.saxon.functions.SystemFunction |
|---|
operation |
| Fields inherited from class net.sf.saxon.expr.FunctionCall |
|---|
argument |
| Fields inherited from class net.sf.saxon.expr.Expression |
|---|
EVALUATE_METHOD, ITERATE_METHOD, locationId, PROCESS_METHOD, staticProperties |
| Constructor Summary | |
|---|---|
DistinctValues()
|
|
| Method Summary | |
|---|---|
void |
checkArguments(ExpressionVisitor visitor)
Method called during static type checking |
AtomicComparer |
getAtomicComparer()
Get the AtomicComparer allocated at compile time. |
SequenceIterator |
iterate(XPathContext context)
Evaluate the function to return an iteration of selected values or nodes. |
| Methods inherited from class net.sf.saxon.functions.CollatingFunction |
|---|
copy, getAtomicComparer, getCollator, getExpressionBaseURI, getStringCollator |
| Methods inherited from class net.sf.saxon.functions.SystemFunction |
|---|
addContextDocumentArgument, addDocToPathMap, computeCardinality, computeSpecialProperties, getDetails, getErrorCodeForTypeErrors, getItemType, getRequiredType, makeSystemFunction, optimize, setDetails, useContextItemAsDefault |
| Methods inherited from class net.sf.saxon.expr.FunctionCall |
|---|
addExternalFunctionCallToPathMap, checkArgumentCount, equals, explain, getArguments, getDisplayName, getFunctionName, getNumberOfArguments, hashCode, iterateSubExpressions, preEvaluate, promote, replaceSubExpression, setArguments, setFunctionName, simplify, simplifyArguments, toString, typeCheck |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DistinctValues()
| Method Detail |
|---|
public void checkArguments(ExpressionVisitor visitor)
throws XPathException
SystemFunction
checkArguments in class CollatingFunctionvisitor - the expression visitor
XPathExceptionpublic AtomicComparer getAtomicComparer()
public SequenceIterator iterate(XPathContext context)
throws XPathException
iterate in interface SequenceIterableiterate in class Expressioncontext - supplies the context for evaluation
XPathException - if any dynamic error occurs evaluating the
expression
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||