Package org.apache.tiles.el

# Class JspExpressionFactoryFactory

java.lang.Object
org.apache.tiles.el.JspExpressionFactoryFactory

All Implemented Interfaces:
  `ExpressionFactoryFactory`, `ApplicationContextAware`

public class JspExpressionFactoryFactory extends Object implements ExpressionFactoryFactory, ApplicationContextAware
Uses the JSP 2.1 `ExpressionFactory` to be used in Tiles.

Since:
  2.2.1

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `protected jakarta.servlet.ServletContext`
  `servletContext`
  The servlet context.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `JspExpressionFactoryFactory()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `jakarta.el.ExpressionFactory`
  `getExpressionFactory()`
  Returns the expression factory to use.
  `void`
  `setApplicationContext(ApplicationContext applicationContext)`
  Sets the Tiles application context.

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

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

- ## Field Details

  - ### servletContext

    protected jakarta.servlet.ServletContext servletContext
    The servlet context.
    Since:
      2.2.1

- ## Constructor Details

  - ### JspExpressionFactoryFactory

    public JspExpressionFactoryFactory()

- ## Method Details

  - ### setApplicationContext

    public void setApplicationContext(ApplicationContext applicationContext)
    Sets the Tiles application context.
    Specified by:
      `setApplicationContext` in interface `ApplicationContextAware`
    Parameters:
      `applicationContext` - The Tiles application context.

  - ### getExpressionFactory

    public jakarta.el.ExpressionFactory getExpressionFactory()
    Returns the expression factory to use.
    Specified by:
      `getExpressionFactory` in interface `ExpressionFactoryFactory`
    Returns:
      The expression factory.