Class EvaluateFunction

java.lang.Object
org.jaxen.function.ext.EvaluateFunction
All Implemented Interfaces:
Function

public class EvaluateFunction extends Object implements Function
node-set evaluate(string)
Author:
Erwin Bolwidt (ejb @ klomp.org)
  • Constructor Details

    • EvaluateFunction

      public EvaluateFunction()
  • Method Details

    • call

      public Object call(Context context, List args) throws FunctionCallException
      Description copied from interface: Function
      Evaluate this function.
      Specified by:
      call in interface Function
      Parameters:
      context - the context at the point in the expression when the function is called
      args - arguments provided to the function
      Returns:
      the result of evaluating the function; a List (node-set), Double, Boolean, or String
      Throws:
      FunctionCallException - if an XPath error occurs during evaluation; for instance, if the number or type of the arguments is incorrect
    • evaluate

      public static List evaluate(Context context, Object arg) throws FunctionCallException
      Throws:
      FunctionCallException