org.jaxen.function
Class NumberFunction
java.lang.Object
org.jaxen.function.NumberFunction
- All Implemented Interfaces:
- Function
- public class NumberFunction
- extends java.lang.Object
- implements Function
4.4 number number(object)
- Author:
- bob mcwhirter (bob @ werken.com)
Field Summary |
private static java.lang.Double |
NaN
|
Method Summary |
java.lang.Object |
call(Context context,
java.util.List args)
Call this function. |
static java.lang.Double |
evaluate(java.lang.Object obj,
Navigator nav)
|
static boolean |
isNaN(double val)
|
static boolean |
isNaN(java.lang.Double val)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NaN
private static final java.lang.Double NaN
NumberFunction
public NumberFunction()
call
public java.lang.Object call(Context context,
java.util.List args)
throws FunctionCallException
- Description copied from interface:
Function
- Call this function.
- Specified by:
call
in interface Function
- Parameters:
context
- The context at the point in the
expression when the function is called.args
- List of arguments provided during
the call of the function.
- Throws:
FunctionCallException
evaluate
public static java.lang.Double evaluate(java.lang.Object obj,
Navigator nav)
isNaN
public static boolean isNaN(double val)
isNaN
public static boolean isNaN(java.lang.Double val)