java.io.Serializable, javax.xml.transform.SourceLocator, LocationProvider, SaxonLocator, EvaluableItem, SequenceIterable, InstructionInfo, org.xml.sax.Locatorpublic class DistinctValues extends CollatingFunction
| Modifier and Type | Class | Description |
|---|---|---|
static class |
DistinctValues.DistinctIterator |
Iterator class to return the distinct values in a sequence
|
stringCollatorEVALUATE_METHOD, ITERATE_METHOD, locationId, PROCESS_METHOD, staticPropertiesargumentoperation| Constructor | Description |
|---|---|
DistinctValues() |
| Modifier and Type | Method | Description |
|---|---|---|
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.
|
copy, getAtomicComparer, getCollator, getExpressionBaseURI, getStringCollatoraddToPathMap, adoptChildExpression, checkForUpdatingSubexpressions, checkPermittedContents, computeDependencies, computeStaticProperties, display, doPromotion, dynamicError, effectiveBooleanValue, evaluateAsString, evaluateItem, evaluatePendingUpdates, explain, findParentOf, getCardinality, getColumnNumber, getColumnNumber, getConstructType, getContainer, getDependencies, getExecutable, getHostLanguage, getImplementationMethod, getIntrinsicDependencies, getLineNumber, getLineNumber, getLocationId, getLocationProvider, getObjectName, getProperties, getProperty, getPublicId, getSlotsUsed, getSpecialProperties, getSystemId, getSystemId, hasLoopingSubexpression, implementsStaticTypeCheck, isUpdatingExpression, iterateEvents, markTailFunctionCalls, process, resetLocalStaticProperties, setContainer, setFiltered, setFlattened, setLocationId, staticTypeCheck, suppressValidation, typeErroraddExternalFunctionCallToPathMap, checkArgumentCount, equals, explain, getArguments, getDisplayName, getFunctionName, getNumberOfArguments, hashCode, iterateSubExpressions, preEvaluate, promote, replaceSubExpression, setArguments, setFunctionName, simplify, simplifyArguments, toString, typeCheckclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddContextDocumentArgument, addDocToPathMap, computeCardinality, computeSpecialProperties, getDetails, getErrorCodeForTypeErrors, getItemType, getRequiredType, makeSystemFunction, optimize, setDetails, useContextItemAsDefaultpublic void checkArguments(ExpressionVisitor visitor) throws XPathException
SystemFunctioncheckArguments in class CollatingFunctionvisitor - the expression visitorXPathExceptionpublic AtomicComparer getAtomicComparer()
public SequenceIterator iterate(XPathContext context) throws XPathException
iterate in interface SequenceIterableiterate in class Expressioncontext - supplies the context for evaluationXPathException - if any dynamic error occurs evaluating the
expression