Uses of Class
org.apache.sling.scripting.jsp.jasper.runtime.ProtectedFunctionMapper
Package
Description
This package should only be used by compiled JSP scripts when being executed on the platform.
-
Uses of ProtectedFunctionMapper in org.apache.sling.scripting.jsp.jasper.runtime
Modifier and TypeMethodDescriptionstatic 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 TypeMethodDescriptionstatic 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); } }static Object
PageContextImpl.proprietaryEvaluate
(String expression, Class expectedType, javax.servlet.jsp.PageContext pageContext, ProtectedFunctionMapper functionMap, boolean escape) Proprietary method to evaluate EL expressions.