public class FormatInteger extends SystemFunction implements StatefulSystemFunction
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
preface |
| Constructor and Description |
|---|
FormatInteger() |
| Modifier and Type | Method and Description |
|---|---|
StringValue |
call(XPathContext context,
Sequence[] arguments)
Evaluate the expression
|
SystemFunction |
copy()
Make a copy of this SystemFunction.
|
static NumericGroupFormatter |
getPicSeparators(java.lang.String pic)
Get the picture separators and filter
them out of the picture.
|
Expression |
makeOptimizedFunctionCall(ExpressionVisitor visitor,
ContextItemStaticInfo contextInfo,
Expression... arguments)
Allow the function to create an optimized call based on the values of the actual arguments
|
dependsOnContextItem, dynamicCall, equals, export, exportAdditionalArguments, exportAttributes, fixArguments, getArity, getCardinality, getCompilerName, getContextNode, getDescription, getDetails, getErrorCodeForTypeErrors, getFunctionItemType, getFunctionName, getIntegerBounds, getNetCost, getOperandRoles, getRequiredType, getResultItemType, getResultItemType, getRetainedStaticContext, getSpecialProperties, getStaticBaseUriString, getStreamerName, importAttributes, isTrustedResultType, makeCall, makeFunction, makeFunctionCall, resultIfEmpty, setArity, setDetails, setRetainedStaticContext, supplyTypeInformation, toShortString, toString, typeCheckCalleratomize, deepEquals, effectiveBooleanValue, getAnnotations, getStringValue, getStringValueCS, isArray, isMap, makeNewContext, simplify, typeCheckclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitargumentArray, getGenregetLength, head, isStreamed, itemAt, iterate, iterator, reduce, subsequence, toGroundedValueasIterable, materializemakeRepeatablepublic static final java.lang.String preface
public Expression makeOptimizedFunctionCall(ExpressionVisitor visitor, ContextItemStaticInfo contextInfo, Expression... arguments) throws XPathException
SystemFunctionmakeOptimizedFunctionCall in class SystemFunctionvisitor - the expression visitorcontextInfo - information about the context itemarguments - the supplied arguments to the function call. Note: modifying the contents
of this array should not be attempted, it is likely to have no effect.XPathException - if an error is detectedpublic StringValue call(XPathContext context, Sequence[] arguments) throws XPathException
call in interface Callablecall in interface Functioncontext - the dynamic evaluation contextarguments - the values of the arguments, supplied as SequenceIteratorsXPathException - if a dynamic error occurs during the evaluation of the expressionpublic static NumericGroupFormatter getPicSeparators(java.lang.String pic) throws XPathException
pic - the formatting picture, after stripping off any modifiersXPathException - if the picture is invalidpublic SystemFunction copy()
StatefulSystemFunctioncopy in interface StatefulSystemFunctionCopyright (c) 2004-2020 Saxonica Limited. All rights reserved.