Package org.apache.jasper.compiler
Class ELInterpreterFactory.DefaultELInterpreter
- java.lang.Object
-
- org.apache.jasper.compiler.ELInterpreterFactory.DefaultELInterpreter
-
- All Implemented Interfaces:
ELInterpreter
- Enclosing class:
- ELInterpreterFactory
public static class ELInterpreterFactory.DefaultELInterpreter extends java.lang.Object implements ELInterpreter
-
-
Constructor Summary
Constructors Constructor Description DefaultELInterpreter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
interpreterCall(JspCompilationContext context, boolean isTagFile, java.lang.String expression, java.lang.Class<?> expectedType, java.lang.String fnmapvar)
Returns the string representing the code that will be inserted into the servlet generated for JSP.
-
-
-
Method Detail
-
interpreterCall
public java.lang.String interpreterCall(JspCompilationContext context, boolean isTagFile, java.lang.String expression, java.lang.Class<?> expectedType, java.lang.String fnmapvar)
Description copied from interface:ELInterpreter
Returns the string representing the code that will be inserted into the servlet generated for JSP. The default implementation creates a call toPageContextImpl.proprietaryEvaluate( String, Class, jakarta.servlet.jsp.PageContext, org.apache.jasper.runtime.ProtectedFunctionMapper)
but other implementations may produce more optimised code.- Specified by:
interpreterCall
in interfaceELInterpreter
- Parameters:
context
- 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.- Returns:
- a String representing a call to the EL interpreter.
-
-