jrun.jsp.compiler
Class LineNumberMappingTable
java.lang.Object
|
+--jrun.jsp.compiler.LineNumberMappingTable
- public class LineNumberMappingTable
- extends java.lang.Object
|
Field Summary |
static java.lang.String |
LINE_SEP
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LINE_SEP
public static final java.lang.String LINE_SEP
LineNumberMappingTable
public LineNumberMappingTable(java.lang.String targetSource)
getMapping
public LineNumberMapping getMapping(int javaLine)
getSourceFile
public java.lang.String getSourceFile(int sourceId)
addMapping
public void addMapping(int targetLine,
int targetSpan,
java.lang.String sourceFile,
int sourceLine,
int sourceSpan)
getSMAPTable
public java.lang.String getSMAPTable()
- Returns the SMAP (Source Map) table as a String. If there is no SMAP table, or there
is an error processing the SMAP table, null will be returned.
- Returns:
- The SMAP table
dumpSMAP
public void dumpSMAP(java.io.Writer out)
throws java.io.IOException
createFromSMAP
public static LineNumberMappingTable createFromSMAP(java.lang.String str)
- Create a LineNumberMappingTable object from an SMAP string
Copyright � 2002 Macromedia Corporation. All Rights Reserved.