org.jaxen.function
Class StringFunction
java.lang.Object
org.jaxen.function.StringFunction
- All Implemented Interfaces:
- Function
- public class StringFunction
- extends java.lang.Object
- implements Function
4.2 string string(object)
- Author:
- bob mcwhirter (bob @ werken.com)
Method Summary |
java.lang.Object |
call(Context context,
java.util.List args)
Call this function. |
static java.lang.String |
evaluate(java.lang.Object obj,
Navigator nav)
|
static java.lang.String |
stringValue(boolean bool)
|
static java.lang.String |
stringValue(double value)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StringFunction
public StringFunction()
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 calledargs
- arguments provided to the function
- Throws:
FunctionCallException
evaluate
public static java.lang.String evaluate(java.lang.Object obj,
Navigator nav)
stringValue
public static java.lang.String stringValue(double value)
stringValue
public static java.lang.String stringValue(boolean bool)
Copyright © 2001-2005 Codehaus. All Rights Reserved.