public class Concat extends SystemFunction
| Constructor and Description |
|---|
Concat() |
| Modifier and Type | Method and Description |
|---|---|
StringValue |
call(XPathContext context,
Sequence[] arguments)
Invoke the function
|
java.lang.String |
getCompilerName()
Get the (local) name of a class that can be used to generate bytecode for this
system function
|
FunctionItemType |
getFunctionItemType()
Get the item type of the function item
|
OperandRole[] |
getOperandRoles()
Get the roles of the arguments, for the purposes of streaming
|
SequenceType |
getRequiredType(int arg)
Get the required type of the nth argument
|
Expression |
makeOptimizedFunctionCall(ExpressionVisitor visitor,
ContextItemStaticInfo contextInfo,
Expression... arguments)
Allow the function to create an optimized call based on the values of the actual arguments
|
protected Sequence<?> |
resultIfEmpty(int arg)
Ask if the function always returns a known result when one of the arguments is an empty sequence
|
dependsOnContextItem, dynamicCall, equals, export, exportAdditionalArguments, exportAttributes, fixArguments, getArity, getCardinality, getContextNode, getDescription, getDetails, getErrorCodeForTypeErrors, getFunctionName, getIntegerBounds, getNetCost, getResultItemType, getResultItemType, getRetainedStaticContext, getSpecialProperties, getStaticBaseUriString, getStreamerName, importAttributes, isTrustedResultType, makeCall, makeFunction, makeFunctionCall, 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, materializemakeRepeatableprotected Sequence<?> resultIfEmpty(int arg)
SystemFunctionresultIfEmpty in class SystemFunctionarg - the argument whose value is an empty sequence (counting from zero)public OperandRole[] getOperandRoles()
getOperandRoles in interface FunctiongetOperandRoles in class SystemFunctionpublic FunctionItemType getFunctionItemType()
getFunctionItemType in interface FunctiongetFunctionItemType in class SystemFunctionpublic Expression makeOptimizedFunctionCall(ExpressionVisitor visitor, ContextItemStaticInfo contextInfo, Expression... arguments) throws XPathException
makeOptimizedFunctionCall 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
Functioncontext - the XPath dynamic evaluation contextarguments - the actual arguments to be suppliedXPathException - if a dynamic error occurs within the functionpublic SequenceType getRequiredType(int arg)
getRequiredType in class SystemFunctionarg - the number of the argument whose type is requested, zero-basedpublic java.lang.String getCompilerName()
SystemFunctiongetCompilerName in class SystemFunctionCopyright (c) 2004-2020 Saxonica Limited. All rights reserved.