public class SmapGenerator extends Object
| Constructor and Description | 
|---|
| SmapGenerator() | 
| Modifier and Type | Method and 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)
x - The file namepublic void addStratum(SmapStratum stratum, boolean defaultStratum)
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
                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 © 2000-2020 Apache Software Foundation. All Rights Reserved.