Package org.apache.jasper.compiler
Class SmapUtil
- java.lang.Object
- 
- org.apache.jasper.compiler.SmapUtil
 
- 
 public class SmapUtil extends java.lang.ObjectContains 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
 
- 
- 
Constructor SummaryConstructors Constructor Description SmapUtil()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static voidevaluateNodes(org.apache.jasper.compiler.Node.Nodes nodes, SmapStratum s, java.util.HashMap<java.lang.String,SmapStratum> innerClassMap, boolean breakAtLF)static java.lang.String[]generateSmap(JspCompilationContext ctxt, org.apache.jasper.compiler.Node.Nodes pageNodes)Generates an appropriate SMAP representing the current compilation context.static voidinstallSmap(java.lang.String[] smap)
 
- 
- 
- 
Method Detail- 
generateSmappublic static java.lang.String[] generateSmap(JspCompilationContext ctxt, org.apache.jasper.compiler.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
- Returns:
- a SMAP for the page
- Throws:
- java.io.IOException- Error writing SMAP
 
 - 
installSmappublic static void installSmap(java.lang.String[] smap) throws java.io.IOException- Throws:
- java.io.IOException
 
 - 
evaluateNodespublic static void evaluateNodes(org.apache.jasper.compiler.Node.Nodes nodes, SmapStratum s, java.util.HashMap<java.lang.String,SmapStratum> innerClassMap, boolean breakAtLF)
 
- 
 
-