Class FunctionMapper
java.lang.Object
jakarta.el.FunctionMapper
Abstract base class for mapping EL function names to Java
Method
objects. During expression evaluation, the EL implementation uses the FunctionMapper to
resolve function references of the form prefix:functionName to the corresponding
static Java methods. Implementations maintain a registry of function prefixes and names
mapped to their underlying methods.- Since:
- EL 2.1
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidmapFunction(String prefix, String localName, Method method) Map a method to a function name.abstract MethodresolveFunction(String prefix, String localName) Resolves a function reference to its corresponding staticMethod.
-
Constructor Details
-
FunctionMapper
public FunctionMapper()Constructs a FunctionMapper. Subclasses should invoke this constructor to initialize the base mapper state.
-
-
Method Details