Class SmapUtil


  • public class SmapUtil
    extends java.lang.Object
    Contains static utilities for generating SMAP data based on the current version of Jasper.
    • Method Detail

      • generateSmap

        public void generateSmap​(Node.Nodes pageNodes)
                          throws java.io.IOException
        Generates an appropriate SMAP representing the current compilation context. (JSR-045.)
        Parameters:
        ctxt - Current compilation context
        pageNodes - The current JSP page
        Throws:
        java.io.IOException
      • installSmap

        public void installSmap()
                         throws java.io.IOException
        Throws:
        java.io.IOException
      • unqualify

        private static java.lang.String unqualify​(java.lang.String path)
        Returns an unqualified version of the given file path.