Module dev.metaschema.core
Class NumericFunction
java.lang.Object
dev.metaschema.core.metapath.function.library.NumericFunction
- All Implemented Interfaces:
IFunctionExecutor
Provides a generic implementation of methods defined by XPath 3.1
Functions on numeric values.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceImplementations of this interface are used to execute a numeric opertaion on the provided item. -
Method Summary
-
Method Details
-
execute
public ISequence<INumericItem> execute(@NonNull IFunction function, @NonNull List<ISequence<?>> arguments, @NonNull DynamicContext dynamicContext, IItem focus) Description copied from interface:IFunctionExecutorExecute the provided function using the provided arguments, dynamic context, and focus.- Specified by:
executein 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
-