Package jakarta.el
Class ELProcessor
java.lang.Object
jakarta.el.ELProcessor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
defineBean
(String name, Object bean) void
defineFunction
(String prefix, String function, Method method) Map a method to a function name.void
defineFunction
(String prefix, String function, String className, String methodName) <T> T
<T> T
void
void
setVariable
(String variable, String expression)
-
Constructor Details
-
ELProcessor
public ELProcessor()
-
-
Method Details
-
getELManager
-
eval
-
getValue
-
setValue
-
setVariable
-
defineFunction
public void defineFunction(String prefix, String function, String className, String methodName) throws ClassNotFoundException, NoSuchMethodException -
defineFunction
public void defineFunction(String prefix, String function, Method method) throws NoSuchMethodException Map a method to a function name.- Parameters:
prefix
- Function prefixfunction
- Function namemethod
- Method- Throws:
NullPointerException
- If any of the arguments are nullNoSuchMethodException
- If the method is not static
-
defineBean
-