java.lang.Object
dev.metaschema.core.metapath.function.library.NumericFunction
All Implemented Interfaces:
IFunctionExecutor

public final class NumericFunction extends Object implements IFunctionExecutor
Provides a generic implementation of methods defined by XPath 3.1 Functions on numeric values.
  • Method Details

    • execute

      public ISequence<INumericItem> execute(@NonNull IFunction function, @NonNull List<ISequence<?>> arguments, @NonNull DynamicContext dynamicContext, IItem focus)
      Description copied from interface: IFunctionExecutor
      Execute the provided function using the provided arguments, dynamic context, and focus.
      Specified by:
      execute in interface IFunctionExecutor
      Parameters:
      function - the signature of the function
      arguments - the function arguments
      dynamicContext - the dynamic evaluation context
      focus - the current focus
      Returns:
      a sequence containing the result of the execution