Package org.apache.el.lang
Class FunctionMapperFactory
- java.lang.Object
-
- jakarta.el.FunctionMapper
-
- org.apache.el.lang.FunctionMapperFactory
-
public class FunctionMapperFactory extends FunctionMapper
- Author:
- Jacob Hookom [jacob@hookom.net]
-
-
Field Summary
Fields Modifier and Type Field Description protected FunctionMapperImpl
memento
protected FunctionMapper
target
-
Constructor Summary
Constructors Constructor Description FunctionMapperFactory(FunctionMapper mapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FunctionMapper
create()
void
mapFunction(java.lang.String prefix, java.lang.String localName, java.lang.reflect.Method method)
Map a method to a function name.java.lang.reflect.Method
resolveFunction(java.lang.String prefix, java.lang.String localName)
-
-
-
Field Detail
-
memento
protected FunctionMapperImpl memento
-
target
protected final FunctionMapper target
-
-
Constructor Detail
-
FunctionMapperFactory
public FunctionMapperFactory(FunctionMapper mapper)
-
-
Method Detail
-
resolveFunction
public java.lang.reflect.Method resolveFunction(java.lang.String prefix, java.lang.String localName)
- Specified by:
resolveFunction
in classFunctionMapper
-
mapFunction
public void mapFunction(java.lang.String prefix, java.lang.String localName, java.lang.reflect.Method method)
Description copied from class:jakarta.el.FunctionMapper
Map a method to a function name.- Overrides:
mapFunction
in classFunctionMapper
- Parameters:
prefix
- Function prefixlocalName
- Function namemethod
- Method
-
create
public FunctionMapper create()
-
-