Class NumericFunction
- java.lang.Object
-
- gov.nist.secauto.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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
NumericFunction.INumericExecutor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ISequence<INumericItem>
execute(IFunction function, List<ISequence<?>> arguments, DynamicContext dynamicContext, IItem focus)
Execute the provided function using the provided arguments, dynamic context, and focus.
-
-
-
Method Detail
-
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 interfaceIFunctionExecutor
- Parameters:
function
- the signature of the functionarguments
- the function argumentsdynamicContext
- the dynamic evaluation contextfocus
- the current focus- Returns:
- a sequence containing the result of the execution
-
-