org.apache.struts2.jasper.compiler

## Class ELFunctionMapper

- java.lang.Object
- - org.apache.struts2.jasper.compiler.ELFunctionMapper

-     public class ELFunctionMapper
      extends Object

  This class generates functions mappers for the EL expressions in the page. Instead of a global mapper, a mapper is used for ecah call to EL evaluator, thus avoiding the prefix overlapping and redefinition issues.
  Author:
    Kin-man Chung

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ELFunctionMapper()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static void` | `map(Compiler compiler, Node.Nodes page)` Creates the functions mappers for all EL expressions in the JSP page.

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

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

- - ### Constructor Detail

    - #### ELFunctionMapper

          public ELFunctionMapper()

  - ### Method Detail

    - #### map

          public static void map(Compiler compiler,
                                 Node.Nodes page)
                          throws JasperException

      Creates the functions mappers for all EL expressions in the JSP page.
      Parameters:
        `compiler` - Current compiler, mainly for accessing error dispatcher.
        `page` - The current compilation unit.
      Throws:
        `JasperException` - in case of Jasper errors

Copyright © 2000–2025 Apache Software Foundation. All rights reserved.