Package org.apache.jasper.compiler
Class SmapUtil
- java.lang.Object
-
- org.apache.jasper.compiler.SmapUtil
-
public class SmapUtil extends Object
Contains static utilities for generating SMAP data based on the current version of Jasper.- Author:
- Jayson Falkner, Shawn Bayern, Robert Field (inner SDEInstaller class), Mark Roth, Kin-man Chung
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SmapUtil.ClassInfo
-
Field Summary
Fields Modifier and Type Field Description static String
SMAP_ENCODING
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
generateSmap(org.apache.jasper.compiler.Node.Nodes pageNodes)
Generates an appropriate SMAP representing the current compilation context.void
installSmap()
-
-
-
Field Detail
-
SMAP_ENCODING
public static final String SMAP_ENCODING
- See Also:
- Constant Field Values
-
-
Method Detail
-
generateSmap
public void generateSmap(org.apache.jasper.compiler.Node.Nodes pageNodes) throws IOException
Generates an appropriate SMAP representing the current compilation context. (JSR-045.)- Parameters:
ctxt
- Current compilation contextpageNodes
- The current JSP page- Throws:
IOException
-
installSmap
public void installSmap() throws IOException
- Throws:
IOException
-
-