public class StringLength_1 extends ScalarSystemFunction
| Constructor and Description |
|---|
StringLength_1() |
| Modifier and Type | Method and Description |
|---|---|
AtomicValue |
evaluate(Item arg,
XPathContext context)
Abstract method that must be supplied in subclasses to perform the evaluation
|
java.lang.String |
getCompilerName()
Get the (local) name of a class that can be used to generate bytecode for this
system function
|
IntegerValue[] |
getIntegerBounds()
For an expression that returns an integer or a sequence of integers, get
a lower and upper bound on the values of the integers that may be returned, from
static analysis.
|
Sequence |
resultWhenEmpty()
Method that may be supplied in subclasses, to indicate the result that is returned
when an empty sequence is supplied as the argument value.
|
call, makeFunctionCalldependsOnContextItem, dynamicCall, equals, export, exportAdditionalArguments, exportAttributes, fixArguments, getArity, getCardinality, getContextNode, getDescription, getDetails, getErrorCodeForTypeErrors, getFunctionItemType, getFunctionName, getNetCost, getOperandRoles, getRequiredType, getResultItemType, getResultItemType, getRetainedStaticContext, getSpecialProperties, getStaticBaseUriString, getStreamerName, getUniStringArg, hashCode, importAttributes, isSequenceVariadic, isTrustedResultType, makeCall, makeFunction, makeOptimizedFunctionCall, resultIfEmpty, setArity, setDetails, setRetainedStaticContext, supplyTypeInformation, toShortString, toString, typeCheckCalleratomize, deepEquals, effectiveBooleanValue, getAnnotations, getUnicodeStringValue, isArray, isMap, makeNewContext, simplify, typeCheckclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetLength, getStringValue, head, isStreamed, itemAt, iterate, reduce, subsequenceasIterable, concatenate, containsNode, materializemakeRepeatablepublic IntegerValue[] getIntegerBounds()
getIntegerBounds in class SystemFunctionpublic Sequence resultWhenEmpty()
ScalarSystemFunctionresultWhenEmpty in class ScalarSystemFunctionpublic AtomicValue evaluate(Item arg, XPathContext context) throws XPathException
ScalarSystemFunctionevaluate in class ScalarSystemFunctionarg - the supplied argumentcontext - the dynamic contextXPathException - if a dynamic error occurspublic java.lang.String getCompilerName()
SystemFunctiongetCompilerName in class SystemFunctionCopyright (c) 2004-2022 Saxonica Limited. All rights reserved.