net.sf.saxon.functions
public class NormalizeSpace extends SystemFunction
Method Summary | |
---|---|
Item | evaluateItem(XPathContext c)
Evaluate in a general context |
int | getIntrinsicDependencies()
Determine the intrinsic dependencies of an expression, that is, those which are not derived
from the dependencies of its subexpressions. |
static CharSequence | normalize(CharSequence s)
The algorithm that does the work: it removes leading and trailing whitespace, and
replaces internal whitespace by a single space character. |
Expression | preEvaluate(StaticContext env)
Pre-evaluate a function at compile time. |
Expression | simplify(StaticContext env)
Simplify and validate. |
Returns: a set of bit-significant flags identifying the "intrinsic" dependencies. The flags are documented in class net.sf.saxon.value.StaticProperty