com.werken.xpath.function

Class SubstringFunction

Implemented Interfaces:
Function

public class SubstringFunction
extends java.lang.Object
implements Function

4.2 string substring(string,number,number?)

Author:
bob mcwhirter (bob @ werken.com)

Method Summary

Object
call(Context context, List args)
static String
evaluate(Object strArg, Object startArg)
static String
evaluate(Object strArg, Object startArg, Object lenArg)

Method Details

call

public Object call(Context context,
                   List args)
Specified by:
call in interface Function


evaluate

public static String evaluate(Object strArg,
                              Object startArg)


evaluate

public static String evaluate(Object strArg,
                              Object startArg,
                              Object lenArg)


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