org.apache.jasper.compiler
Class SmapUtil
java.lang.Object
|
+--org.apache.jasper.compiler.SmapUtil
- public class SmapUtil
- extends java.lang.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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SMAP_ENCODING
public static final java.lang.String SMAP_ENCODING
- See Also:
- Constant Field Values
SmapUtil
public SmapUtil()
generateSmap
public static void generateSmap(JspCompilationContext ctxt,
Node.Nodes pageNodes,
boolean install)
throws java.io.IOException
- Generates an appropriate SMAP representing the current compilation
context and optionally installs in the target .class file. (JSR-045.)
If the keepGenerated flag is set in the compilation context, the
generated .smap file will remain. Otherwise, it will be deleted.
- Parameters:
install
- True if the SourceDebugExtension is to be installed
in the generated .class file, or false if not.
java.io.IOException
installSmap
public static void installSmap(JspCompilationContext ctxt)
throws java.io.IOException
java.io.IOException
evaluateNodes
public static void evaluateNodes(Node.Nodes nodes,
SmapStratum s)
Copyright © 2000 Apache Software Foundation. All Rights Reserved.