ELInterpreterFactory (Apache Tomcat 9.0.75 API Documentation)

Package org.apache.jasper.compiler

## Class ELInterpreterFactory

- java.lang.Object
- - org.apache.jasper.compiler.ELInterpreterFactory

-     public class ELInterpreterFactory
      extends java.lang.Object

  Provides `ELInterpreter` instances for JSP compilation. The search order is as follows:
  1. ELInterpreter instance or implementation class name provided as a ServletContext attribute
  2. Implementation class named in a ServletContext initialisation parameter
  3. Default implementation

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class | Description
    --- | --- | ---
    `static class` | `ELInterpreterFactory.DefaultELInterpreter` |

  - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `static java.lang.String` | `EL_INTERPRETER_CLASS_NAME` |

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `static ELInterpreter` | `getELInterpreter​(ServletContext context)` | Obtain the correct EL Interpreter for the given web application.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### EL_INTERPRETER_CLASS_NAME

          public static final java.lang.String EL_INTERPRETER_CLASS_NAME

  - ### Method Detail

    - #### getELInterpreter

          public static ELInterpreter getELInterpreter​(ServletContext context)
                                                throws java.lang.Exception

      Obtain the correct EL Interpreter for the given web application.
      Parameters:
        `context` - The Servlet context
      Returns:
        the EL interpreter
      Throws:
        `java.lang.Exception` - If an error occurs creating the interpreter