com.werken.xpath.function

Class StringFunction

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

Object
call(Context context, List args)
Call the function object.
static String
evaluate(Element elem)
static String
evaluate(Object obj)

Method Details

call

public Object call(Context context,
                   List args)
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 String evaluate(Element elem)


evaluate

public static String evaluate(Object obj)


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