|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectorg.apache.jasper.compiler.SmapGenerator
public class SmapGenerator
Represents a source map (SMAP), which serves to associate lines of the input JSP file(s) to lines in the generated servlet in the final .class file, according to the JSR-045 spec.
| 构造方法摘要 | |
|---|---|
SmapGenerator()
|
|
| 方法摘要 | |
|---|---|
void |
addSmap(String smap,
String stratumName)
Adds the given string as an embedded SMAP with the given stratum name. |
void |
addStratum(SmapStratum stratum,
boolean defaultStratum)
Adds the given SmapStratum object, representing a Stratum with logically associated FileSection and LineSection blocks, to the current SmapGenerator. |
String |
getString()
|
static void |
main(String[] args)
|
void |
setDoEmbedded(boolean status)
Instructs the SmapGenerator whether to actually print any embedded SMAPs or not. |
void |
setOutputFileName(String x)
Sets the filename (without path information) for the generated source file. |
String |
toString()
|
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| 构造方法详细信息 |
|---|
public SmapGenerator()
| 方法详细信息 |
|---|
public void setOutputFileName(String x)
public void addStratum(SmapStratum stratum,
boolean defaultStratum)
stratum - the SmapStratum object to adddefaultStratum - if true, this SmapStratum is considered
to represent the default SMAP stratum unless
overwritten
public void addSmap(String smap,
String stratumName)
smap - the SMAP to embedstratumName - the name of the stratum output by the compilation
that produced the smap to be embeddedpublic void setDoEmbedded(boolean status)
status - If false, ignore any embedded SMAPs.public String getString()
public String toString()
Object 中的 toStringpublic static void main(String[] args)
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||