public class ELInterpreterTagSetters extends Object implements ELInterpreter
ELInterpreter that optimizes a subset
of setters for tag attributes.
The cases optimized by this implementation are:
ELResolvers listed in section JSP.2.9 and effectively hard
codes the use of the 4th ELResolver in that list.| Constructor and Description |
|---|
ELInterpreterTagSetters() |
| Modifier and Type | Method and Description |
|---|---|
String |
interpreterCall(JspCompilationContext context,
boolean isTagFile,
String expression,
Class<?> expectedType,
String fnmapvar)
Returns the string representing the code that will be inserted into the
servlet generated for JSP.
|
public String interpreterCall(JspCompilationContext context, boolean isTagFile, String expression, Class<?> expectedType, String fnmapvar)
ELInterpreterPageContextImpl.proprietaryEvaluate(
String, Class, javax.servlet.jsp.PageContext,
org.apache.jasper.runtime.ProtectedFunctionMapper) but other
implementations may produce more optimised code.interpreterCall in interface ELInterpretercontext - The compilation contextisTagFile - true if in a tag file rather than a JSPexpression - a String containing zero or more "${}" expressionsexpectedType - the expected type of the interpreted resultfnmapvar - Variable pointing to a function map.Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.