com.novell.xml.xpath.functions
Class xpathNormalizeSpace

java.lang.Object
  extended bycom.novell.xml.xpath.Function
      extended bycom.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
 
Method Summary
 ExpressionValue invoke(Object[] args)
          Perform normalize() function
 
Methods inherited from class com.novell.xml.xpath.Function
getInstance, getSignature, isConstant, registerForReset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

xpathNormalizeSpace

public xpathNormalizeSpace()
Construct an object for the normalize-space() function

Method Detail

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