public class NormalizeSpace_1 extends ScalarSystemFunction
ZERO_LENGTH_STRING| Constructor and Description |
|---|
NormalizeSpace_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 NormalizeSpace_1 expression
|
Expression |
makeFunctionCall(Expression[] arguments)
Make an expression that either calls this function, or that is equivalent to a call
on this function
|
static StringValue |
normalizeSpace(StringValue sv) |
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.
|
callequals, export, exportAttributes, getArity, getCardinality, getContextNode, getDescription, getDetails, getErrorCodeForTypeErrors, getFunctionItemType, getFunctionName, getIntegerBounds, getOperandRoles, getRequiredType, getResultItemType, getResultItemType, getRetainedStaticContext, getSpecialProperties, getStaticBaseUriString, getStreamingAdjunct, importAttributes, makeCall, makeFunction, makeOptimizedFunctionCall, 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 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 normalizeSpace(StringValue sv)
public Expression makeFunctionCall(Expression[] arguments)
SystemFunctionmakeFunctionCall in class ScalarSystemFunctionarguments - the supplied arguments to the function callpublic ExpressionCompiler getExpressionCompiler()
getExpressionCompiler in class SystemFunctionCopyright (c) 2004-2014 Saxonica Limited. All rights reserved.