Class StringLengthFunction

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

public class StringLengthFunction extends Object implements Function

4.2 number string-length(string)

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

    • StringLengthFunction

      public StringLengthFunction()
  • 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 Double evaluate(Object obj)