Class SubstringFunction

java.lang.Object
com.werken.xpath.function.SubstringFunction
All Implemented Interfaces:
Function

public class SubstringFunction extends Object implements Function

4.2 string substring(string,number,number?)

Author:
bob mcwhirter (bob @ werken.com)
  • Constructor Details

    • SubstringFunction

      public SubstringFunction()
  • Method Details

    • call

      public Object call(Context context, 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 String evaluate(Object strArg, Object startArg)
    • evaluate

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