org.zkoss.zel
Class ELProcessor
java.lang.Object
org.zkoss.zel.ELProcessor
public class ELProcessor
- extends Object
- Since:
- EL 3.0
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ELProcessor
public ELProcessor()
getELManager
public ELManager getELManager()
eval
public Object eval(String expression)
getValue
public Object getValue(String expression,
Class<?> expectedType)
setValue
public void setValue(String expression,
Object value)
setVariable
public void setVariable(String variable,
String expression)
defineFunction
public void defineFunction(String prefix,
String function,
String className,
String methodName)
throws ClassNotFoundException,
NoSuchMethodException
- 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 null
NoSuchMethodException - If the method is not static
defineBean
public void defineBean(String name,
Object bean)
Copyright © 2015. All rights reserved.