public class SmapGenerator extends Object
Constructor | Description |
---|---|
SmapGenerator() |
Modifier and Type | Method | Description |
---|---|---|
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() |
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
overwrittenpublic 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 static void main(String[] args)
Copyright © 2019 Oracle. All rights reserved.