Package | Description |
---|---|
org.apache.jasper.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(java.lang.String fnQName,
java.lang.Class<?> c,
java.lang.String methodName,
java.lang.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 java.lang.Object |
PageContextImpl.evaluateExpression(java.lang.String expression,
java.lang.Class expectedType,
javax.servlet.jsp.PageContext pageContext,
ProtectedFunctionMapper functionMap)
Evaluates an EL expression
|
static void |
JspRuntimeLibrary.handleSetPropertyExpression(java.lang.Object bean,
java.lang.String prop,
java.lang.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);
}
}
|