public class DistinctValues extends CollatingFunction
| Modifier and Type | Class and Description |
|---|---|
static class |
DistinctValues.DistinctIterator
Iterator class to return the distinct values in a sequence
|
collationoperationargumentlocationId, staticPropertiesEVALUATE_METHOD, ITERATE_METHOD, PROCESS_METHOD| Constructor and Description |
|---|
DistinctValues() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkArguments(StaticContext env)
Method called during static type checking
|
SequenceIterator |
iterate(XPathContext context)
Evaluate the function to return an iteration of selected values or nodes.
|
getAtomicComparer, getCollatoraddContextDocumentArgument, computeCardinality, computeSpecialProperties, display, getDetails, getErrorCodeForTypeErrors, getItemType, getRequiredType, main, makeSystemFunction, setDetails, useContextItemAsDefaultcheckArgumentCount, getArguments, getDisplayName, getFunctionNameCode, getNumberOfArguments, iterateSubExpressions, optimize, preEvaluate, promote, replaceSubExpression, setArguments, setFunctionNameCode, simplify, simplifyArguments, typeCheckadoptChildExpression, checkPermittedContents, computeDependencies, computeStaticProperties, doPromotion, dynamicError, effectiveBooleanValue, evaluateAsString, evaluateItem, getCardinality, getColumnNumber, getConstructType, getDependencies, getExecutable, getHostLanguage, getImplementationMethod, getInstructionInfo, getIntrinsicDependencies, getLineNumber, getLocationId, getLocationProvider, getParentExpression, getPublicId, getSlotsUsed, getSpecialProperties, getSystemId, hasBadParentPointer, markTailFunctionCalls, process, resetStaticProperties, setLocationId, setParentExpression, setParentExpression, suppressValidation, typeErrorpublic void checkArguments(StaticContext env) throws XPathException
SystemFunctioncheckArguments in class CollatingFunctionXPathExceptionpublic SequenceIterator iterate(XPathContext context) throws XPathException
iterate in interface Expressioniterate in class ComputedExpressioncontext - supplies the context for evaluationXPathException - if any dynamic error occurs evaluating the
expression