com.novell.xml.xpath.functions
Class xpathNormalizeSpace
java.lang.Object
com.novell.xml.xpath.Function
com.novell.xml.xpath.functions.xpathNormalizeSpace
- public class xpathNormalizeSpace
- extends Function
This class implements the XPath normalize-space(string?) built-in function
Constructor Summary |
xpathNormalizeSpace()
Construct an object for the normalize-space() function |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
xpathNormalizeSpace
public xpathNormalizeSpace()
- Construct an object for the normalize-space() function
invoke
public ExpressionValue invoke(Object[] args)
throws XPathEvaluationException
- Perform normalize() function
- Overrides:
invoke
in class Function
- Parameters:
args
- List of arguments.
The argument is optional. If specified, it must resolve to
string type.
If the argument is unspecified, the value of the context node
is used as the argument.
- Returns:
- The normalized argument
- Throws:
XPathEvaluationException