Class MathFunctionSet.PowFn

All Implemented Interfaces:
Callable, FunctionItem, GroundedValue, Item, Sequence
Enclosing class:
MathFunctionSet

public static class MathFunctionSet.PowFn extends SystemFunction
Implement math:pow
  • Constructor Details

    • PowFn

      public PowFn()
  • Method Details

    • call

      public GroundedValue call(XPathContext context, Sequence[] args) throws XPathException
      Invoke the function
      Parameters:
      context - the XPath dynamic evaluation context
      args - the actual arguments to be supplied
      Returns:
      the result of invoking the function
      Throws:
      XPathException - if a dynamic error occurs within the function