public class SmapGenerator extends Object
Constructor and Description |
---|
SmapGenerator() |
Modifier and Type | Method and Description |
---|---|
void |
addSmap(String smap,
String stratumName)
Deprecated.
Unused. This will be removed in Tomcat 9.0.x
|
void |
addStratum(SmapStratum stratum,
boolean defaultStratum)
Deprecated.
|
String |
getString() |
static void |
main(String[] args) |
void |
setDoEmbedded(boolean status)
Deprecated.
Unused. Will be removed in Tomcat 9.0.x
|
void |
setOutputFileName(String x)
Sets the filename (without path information) for the generated
source file.
|
void |
setStratum(SmapStratum stratum)
Sets the default and only stratum for the smap.
|
String |
toString() |
public void setOutputFileName(String x)
x
- The file namepublic void setStratum(SmapStratum stratum)
stratum
- the SmapStratum object to add@Deprecated public void addStratum(SmapStratum stratum, boolean defaultStratum)
setStratum(SmapStratum)
defaultStartum
is true, this
stratum is made the default stratum, overriding any previously
set default.stratum
- the SmapStratum object to adddefaultStratum
- if true
, this SmapStratum is
considered to represent the default SMAP stratum unless
overwritten@Deprecated 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 embedded@Deprecated public void setDoEmbedded(boolean status)
status
- If false
, ignore any embedded SMAPs.public String getString()
public static void main(String[] args)
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.