java.io.Serializable
, javax.xml.transform.SourceLocator
, LocationProvider
, SaxonLocator
, EvaluableItem
, SequenceIterable
, InstructionInfo
, org.xml.sax.Locator
public class DistinctValues extends CollatingFunction
Modifier and Type | Class | Description |
---|---|---|
static class |
DistinctValues.DistinctIterator |
Iterator class to return the distinct values in a sequence
|
stringCollator
EVALUATE_METHOD, ITERATE_METHOD, locationId, PROCESS_METHOD, staticProperties
argument
operation
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, getStringCollator
addToPathMap, 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, typeError
addExternalFunctionCallToPathMap, checkArgumentCount, equals, explain, getArguments, getDisplayName, getFunctionName, getNumberOfArguments, hashCode, iterateSubExpressions, preEvaluate, promote, replaceSubExpression, setArguments, setFunctionName, simplify, simplifyArguments, toString, typeCheck
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addContextDocumentArgument, addDocToPathMap, computeCardinality, computeSpecialProperties, getDetails, getErrorCodeForTypeErrors, getItemType, getRequiredType, makeSystemFunction, optimize, setDetails, useContextItemAsDefault
public void checkArguments(ExpressionVisitor visitor) throws XPathException
SystemFunction
checkArguments
in class CollatingFunction
visitor
- the expression visitorXPathException
public AtomicComparer getAtomicComparer()
public SequenceIterator iterate(XPathContext context) throws XPathException
iterate
in interface SequenceIterable
iterate
in class Expression
context
- supplies the context for evaluationXPathException
- if any dynamic error occurs evaluating the
expression