public class GenerateId_1 extends ScalarSystemFunction
ZERO_LENGTH_STRING| Constructor and Description |
|---|
GenerateId_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
|
static StringValue |
generateId(NodeInfo node) |
java.lang.String |
getCompilerName()
Get the (local) name of a class that can be used to generate bytecode for this
system function
|
int |
getSpecialProperties(Expression[] arguments)
Determine the special properties of this expression.
|
ZeroOrOne<? extends AtomicValue> |
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, getIntegerBounds, getNetCost, getOperandRoles, getRequiredType, getResultItemType, getResultItemType, getRetainedStaticContext, getStaticBaseUriString, getStreamerName, importAttributes, isTrustedResultType, makeCall, makeFunction, makeOptimizedFunctionCall, 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 int getSpecialProperties(Expression[] arguments)
getSpecialProperties in class SystemFunctionarguments - the expressions supplied as arguments in the function callpublic ZeroOrOne<? extends AtomicValue> 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 static StringValue generateId(NodeInfo node)
public java.lang.String getCompilerName()
SystemFunctiongetCompilerName in class SystemFunctionCopyright (c) 2004-2020 Saxonica Limited. All rights reserved.