Package | Description |
---|---|
org.tinygroup.jspengine.runtime |
Modifier and Type | Method and Description |
---|---|
static ProtectedFunctionMapper |
ProtectedFunctionMapper.getInstance()
Generated Servlet and Tag Handler implementations call this
method to retrieve an instance of the ProtectedFunctionMapper.
|
static ProtectedFunctionMapper |
ProtectedFunctionMapper.getMapForFunction(String fnQName,
Class c,
String methodName,
Class[] args)
Creates an instance for this class, and stores the Method for
the given EL function prefix and name.
|
Modifier and Type | Method and Description |
---|---|
static Object |
PageContextImpl.evaluateExpression(String expression,
Class expectedType,
javax.servlet.jsp.PageContext pageContext,
ProtectedFunctionMapper functionMap)
Evaluates an EL expression
|
static void |
JspRuntimeLibrary.handleSetPropertyExpression(Object bean,
String prop,
String expression,
javax.servlet.jsp.PageContext pageContext,
ProtectedFunctionMapper functionMapper)
Use proprietaryEvaluate
public static void handleSetPropertyExpression(Object bean,
String prop, String expression, PageContext pageContext,
VariableResolver variableResolver, FunctionMapper functionMapper )
throws JasperException
{
try {
Method method = getWriteMethod(bean.getClass(), prop);
method.invoke(bean, new Object[] {
pageContext.getExpressionEvaluator().evaluate(
expression,
method.getParameterTypes()[0],
variableResolver,
functionMapper,
null )
});
} catch (Exception ex) {
throw new JasperException(ex);
}
}
|
Copyright © 2006–2018 TinyGroup. All rights reserved.