public abstract class CollatingFunction extends SystemFunction
| Modifier and Type | Field and Description |
|---|---|
protected XPathContext |
conversionContext |
operationargumentlocationId, staticPropertiesEVALUATE_METHOD, ITERATE_METHOD, PROCESS_METHOD| Constructor and Description |
|---|
CollatingFunction() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkArguments(StaticContext env)
Method called during static type checking
|
protected AtomicComparer |
getAtomicComparer(int arg,
XPathContext context)
Get a AtomicComparer that can be used to compare values
|
protected Comparator |
getCollator(int arg,
XPathContext context)
Get a collator suitable for comparing strings.
|
void |
preEvaluateCollation(StaticContext env)
Pre-evaluate the collation argument if its value is known statically
|
addContextDocumentArgument, computeCardinality, computeSpecialProperties, display, getDetails, getErrorCodeForTypeErrors, getItemType, getRequiredType, main, makeSystemFunction, setDetails, useContextItemAsDefaultcheckArgumentCount, getDisplayName, getFunctionNameCode, getNumberOfArguments, iterateSubExpressions, optimize, preEvaluate, promote, setArguments, setFunctionNameCode, simplify, simplifyArguments, typeCheckadoptChildExpression, checkPermittedContents, computeDependencies, computeStaticProperties, doPromotion, dynamicError, dynamicError, effectiveBooleanValue, evaluateAsString, evaluateItem, getCardinality, getColumnNumber, getConstructType, getDependencies, getExecutable, getHostLanguage, getImplementationMethod, getInstructionInfo, getIntrinsicDependencies, getLineNumber, getLocationId, getLocationProvider, getParentExpression, getPublicId, getSlotsUsed, getSpecialProperties, getSystemId, hasBadParentPointer, iterate, markTailFunctionCalls, process, resetStaticProperties, setLocationId, setParentExpression, suppressValidation, typeError, typeErrorprotected XPathContext conversionContext
public void checkArguments(StaticContext env) throws XPathException
SystemFunctioncheckArguments in class SystemFunctionXPathExceptionpublic void preEvaluateCollation(StaticContext env) throws XPathException
XPathExceptionprotected AtomicComparer getAtomicComparer(int arg, XPathContext context) throws XPathException
arg - the position of the argument (starting at 0) containing the collation name.
If this argument was not supplied, the default collation is usedcontext - The dynamic evaluation context.XPathExceptionprotected Comparator getCollator(int arg, XPathContext context) throws XPathException
arg - The argument position (counting from zero) that holds the collation
URI if presentcontext - The dynamic contextXPathException