public class StringJoin extends FoldingFunction
| Constructor and Description |
|---|
StringJoin() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Determine whether two expressions are equivalent
|
int |
getCardinality(Expression[] arguments)
Determine the cardinality of the function.
|
ExpressionCompiler |
getExpressionCompiler()
Return the compiler of the StringJoin expression
|
Fold |
getFold(XPathContext context,
Sequence... additionalArguments)
Create the Fold object which actually performs the evaluation.
|
boolean |
isReturnEmptyIfEmpty() |
Expression |
makeOptimizedFunctionCall(ExpressionVisitor visitor,
ContextItemStaticInfo contextInfo,
Expression... arguments)
Allow the function to create an optimized call based on the values of the actual arguments
|
void |
setReturnEmptyIfEmpty(boolean option)
Indicate that when the input sequence (first argument) is empty, the function should return
an empty sequence rather than an empty string
|
call, getStreamingAdjunctexport, exportAttributes, getArity, getContextNode, getDescription, getDetails, getErrorCodeForTypeErrors, getFunctionItemType, getFunctionName, getIntegerBounds, getOperandRoles, getRequiredType, getResultItemType, getResultItemType, getRetainedStaticContext, getSpecialProperties, getStaticBaseUriString, importAttributes, makeCall, makeFunction, makeFunctionCall, resultIfEmpty, setArity, setDetails, setRetainedStaticContext, 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 void setReturnEmptyIfEmpty(boolean option)
option - true if an empty sequence should be returned when the input is an empty sequence.public boolean isReturnEmptyIfEmpty()
public int getCardinality(Expression[] arguments)
getCardinality in class SystemFunctionarguments - the actual arguments suppliedpublic boolean equals(Object o)
equals 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 callXPathException - if an error is detectedpublic Fold getFold(XPathContext context, Sequence... additionalArguments) throws XPathException
FoldingFunctiongetFold in class FoldingFunctioncontext - the dynamic evaluation contextadditionalArguments - the values of all arguments other than the first.XPathException - if a dynamic error occurspublic ExpressionCompiler getExpressionCompiler()
getExpressionCompiler in class SystemFunctionCopyright (c) 2004-2014 Saxonica Limited. All rights reserved.