public class String_1 extends ScalarSystemFunction
ZERO_LENGTH_STRING| Constructor and Description |
|---|
String_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
|
ExpressionCompiler |
getExpressionCompiler()
Return the compiler of the StringFn expression
|
StringFnAdjunct |
getStreamingAdjunct()
Get a class that supports streamed evaluation of this expression
|
Expression |
makeOptimizedFunctionCall(ExpressionVisitor visitor,
ContextItemStaticInfo contextInfo,
Expression... arguments)
Allow the function to create an optimized call based on the values of the actual arguments
|
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, makeFunctionCallequals, export, exportAttributes, getArity, getCardinality, getContextNode, getDescription, getDetails, getErrorCodeForTypeErrors, getFunctionItemType, getFunctionName, getIntegerBounds, getOperandRoles, getRequiredType, getResultItemType, getResultItemType, getRetainedStaticContext, getSpecialProperties, getStaticBaseUriString, importAttributes, makeCall, makeFunction, 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 AtomicValue evaluate(Item arg, XPathContext context) throws XPathException
ScalarSystemFunctionevaluate in class ScalarSystemFunctionarg - the supplied argumentcontext - the dynamic contextXPathException - if a dynamic error occurspublic ZeroOrOne<? extends AtomicValue> resultWhenEmpty()
ScalarSystemFunctionresultWhenEmpty in class ScalarSystemFunctionpublic 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 ExpressionCompiler getExpressionCompiler()
getExpressionCompiler in class SystemFunctionpublic StringFnAdjunct getStreamingAdjunct()
getStreamingAdjunct in class SystemFunctionCopyright (c) 2004-2014 Saxonica Limited. All rights reserved.