Class ELFunctionMapper


  • public class ELFunctionMapper
    extends java.lang.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.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int currFunc  
      (package private) java.lang.StringBuilder ds  
      (package private) java.lang.StringBuilder ss  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method 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
    • Field Detail

      • currFunc

        private int currFunc
      • ds

        java.lang.StringBuilder ds
      • ss

        java.lang.StringBuilder ss
    • 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