Uses of Class
org.apache.sling.scripting.jsp.jasper.runtime.ProtectedFunctionMapper
Packages that use 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
Methods in org.apache.sling.scripting.jsp.jasper.runtime that return ProtectedFunctionMapperModifier and TypeMethodDescriptionstatic ProtectedFunctionMapperProtectedFunctionMapper.getInstance()Generated Servlet and Tag Handler implementations call this method to retrieve an instance of the ProtectedFunctionMapper.static ProtectedFunctionMapperProtectedFunctionMapper.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.Methods in org.apache.sling.scripting.jsp.jasper.runtime with parameters of type ProtectedFunctionMapperModifier and TypeMethodDescriptionstatic voidJspRuntimeLibrary.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 ObjectPageContextImpl.proprietaryEvaluate(String expression, Class expectedType, javax.servlet.jsp.PageContext pageContext, ProtectedFunctionMapper functionMap, boolean escape) Proprietary method to evaluate EL expressions.