|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.saxon.expr.ComputedExpression
net.sf.saxon.expr.FunctionCall
net.sf.saxon.functions.SystemFunction
net.sf.saxon.functions.CollatingFunction
Abstract superclass for all functions that take an optional collation argument
| Field Summary | |
protected java.util.Comparator |
collation
|
| 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.ComputedExpression |
locationId, staticProperties |
| Fields inherited from interface net.sf.saxon.expr.Expression |
EVALUATE_METHOD, ITERATE_METHOD, PROCESS_METHOD |
| Constructor Summary | |
CollatingFunction()
|
|
| Method Summary | |
void |
checkArguments(StaticContext env)
Method called during static type checking |
protected GenericAtomicComparer |
getAtomicComparer(int arg,
XPathContext context)
Get a GenericAtomicComparer that can be used to compare values |
protected java.util.Comparator |
getCollator(int arg,
XPathContext context)
Get a collator suitable for comparing strings. |
| Methods inherited from class net.sf.saxon.functions.SystemFunction |
addContextDocumentArgument, computeCardinality, computeSpecialProperties, display, getDetails, getErrorCodeForTypeErrors, getItemType, getRequiredType, main, makeSystemFunction, setDetails, useContextItemAsDefault |
| Methods inherited from class net.sf.saxon.expr.FunctionCall |
checkArgumentCount, getArguments, getDisplayName, getFunctionNameCode, getNumberOfArguments, iterateSubExpressions, optimize, preEvaluate, promote, replaceSubExpression, setArguments, setFunctionNameCode, simplify, simplifyArguments, typeCheck |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected transient java.util.Comparator collation
| Constructor Detail |
public CollatingFunction()
| Method Detail |
public void checkArguments(StaticContext env)
throws XPathException
SystemFunction
checkArguments in class SystemFunctionXPathException
protected GenericAtomicComparer 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.
XPathException
protected java.util.Comparator getCollator(int arg,
XPathContext context)
throws XPathException
arg - The argument position (counting from zero) that holds the collation
URI if presentcontext - The dynamic context
XPathException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||