com.werken.xpath.function
Class FloorFunction

java.lang.Object
  extended by com.werken.xpath.function.FloorFunction
All Implemented Interfaces:
Function

public class FloorFunction
extends java.lang.Object
implements Function

4.4 number floor(number)

Author:
bob mcwhirter (bob @ werken.com)

Constructor Summary
FloorFunction()
           
 
Method Summary
 java.lang.Object call(Context context, java.util.List args)
          Call the function object.
static java.lang.Double evaluate(java.lang.Object obj)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FloorFunction

public FloorFunction()
Method Detail

call

public java.lang.Object call(Context context,
                             java.util.List args)
Description copied from interface: Function
Call the function object.

Specified by:
call in interface Function
Parameters:
context - The current context the function operates upon
args - The argument list to the function.
Returns:
The result from calling the function.

evaluate

public static java.lang.Double evaluate(java.lang.Object obj)


Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved.