com.novell.xml.xpath.functions
Class xpathFloor

java.lang.Object
  extended bycom.novell.xml.xpath.Function
      extended bycom.novell.xml.xpath.functions.xpathFloor

public class xpathFloor
extends Function

This class implements the XPath floor(number) built-in function


Constructor Summary
xpathFloor()
          Construct an object for the floor() function
 
Method Summary
 ExpressionValue invoke(Object[] args)
          Perform floor() function
 String toString()
          Return function name.
 
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, wait, wait, wait
 

Constructor Detail

xpathFloor

public xpathFloor()
Construct an object for the floor() function

Method Detail

invoke

public ExpressionValue invoke(Object[] args)
                       throws XPathEvaluationException
Perform floor() function

Overrides:
invoke in class Function
Parameters:
args - List of arguments. One argument of type number
Returns:
The largest integer that is not greater than the argument
Throws:
XPathEvaluationException

toString

public String toString()
Return function name.

Returns:
Function name.