public abstract class CollatingFunctionFixed extends SystemFunction
| Constructor and Description |
|---|
CollatingFunctionFixed() |
| Modifier and Type | Method and Description |
|---|---|
void |
exportAttributes(ExpressionPresenter out)
Export any context attributes held within the SystemFunction object.
|
AtomicComparer |
getAtomicComparer(XPathContext context)
During evaluation, get the pre-allocated atomic comparer if available, or allocate a new one otherwise
|
AtomicComparer |
getPreAllocatedAtomicComparer()
Get the pre-allocated atomic comparer, if available
|
StringCollator |
getStringCollator()
Get the collation if known statically, as a StringCollator object
|
void |
importAttributes(Properties attributes)
Import any attributes found in the export file, that is, any attributes output using
the exportAttributes method
|
protected void |
preAllocateComparer(AtomicType type0,
AtomicType type1,
StaticContext env,
boolean NaNequalsNaN)
During static analysis, if types are known and the collation is known, pre-allocate a comparer
for comparing atomic values.
|
void |
setCollationName(String collationName) |
void |
setRetainedStaticContext(RetainedStaticContext retainedStaticContext)
Set the static context in which the function operates, for use with functions whose result
depends on the static context
|
equals, export, getArity, getCardinality, getContextNode, getDescription, getDetails, getErrorCodeForTypeErrors, getExpressionCompiler, getFunctionItemType, getFunctionName, getIntegerBounds, getOperandRoles, getRequiredType, getResultItemType, getResultItemType, getRetainedStaticContext, getSpecialProperties, getStaticBaseUriString, getStreamingAdjunct, makeCall, makeFunction, makeFunctionCall, makeOptimizedFunctionCall, resultIfEmpty, setArity, setDetails, supplyTypeInformation, typeCheckCalleratomize, deepEquals, effectiveBooleanValue, getStringValue, getStringValueCS, isArray, isMap, optimize, simplify, typeCheckgetLength, head, itemAt, iterate, reduce, subsequenceclone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLength, head, itemAt, reduce, subsequencepublic StringCollator getStringCollator()
public void setRetainedStaticContext(RetainedStaticContext retainedStaticContext)
SystemFunctionsetRetainedStaticContext in class SystemFunctionretainedStaticContext - the retained static contextpublic void setCollationName(String collationName) throws XPathException
XPathExceptionprotected void preAllocateComparer(AtomicType type0, AtomicType type1, StaticContext env, boolean NaNequalsNaN)
type0 - the type of the first comparandtype1 - the type of the second comparandenv - the static contextNaNequalsNaN - true if two NaN values are to be considered equalpublic AtomicComparer getPreAllocatedAtomicComparer()
public AtomicComparer getAtomicComparer(XPathContext context)
context - the dynamic evaluation contextpublic void exportAttributes(ExpressionPresenter out)
SystemFunctionexportAttributes in class SystemFunctionout - the export destinationpublic void importAttributes(Properties attributes) throws XPathException
SystemFunctionimportAttributes in class SystemFunctionattributes - the attributes, as a properties objectXPathExceptionCopyright (c) 2004-2014 Saxonica Limited. All rights reserved.