Package javax.el
Class ELProcessor
- java.lang.Object
-
- javax.el.ELProcessor
-
public class ELProcessor extends Object
- Since:
- EL 3.0
-
-
Constructor Summary
Constructors Constructor Description ELProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddefineBean(String name, Object bean)voiddefineFunction(String prefix, String function, Method method)Map a method to a function name.voiddefineFunction(String prefix, String function, String className, String methodName)Objecteval(String expression)ELManagergetELManager()ObjectgetValue(String expression, Class<?> expectedType)voidsetValue(String expression, Object value)voidsetVariable(String variable, String expression)
-
-
-
Method Detail
-
getELManager
public ELManager getELManager()
-
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
-
-