Class MathFunctionSet.AcosFn

All Implemented Interfaces:
Iterable<Function>, Callable, Function, GroundedValue<Function>, Item<Function>, Sequence<Function>
Enclosing class:
MathFunctionSet

public static class MathFunctionSet.AcosFn extends SystemFunction
Implement math:acos
  • Constructor Details

    • AcosFn

      public AcosFn()
  • Method Details

    • compute

      protected double compute(double input)
    • call

      public ZeroOrOne<DoubleValue> call(XPathContext context, Sequence[] args) throws XPathException
      Description copied from interface: Function
      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