Package deltix.util.jcg.scg
Class CSCodePrinter
- java.lang.Object
-
- deltix.util.jcg.scg.SourceCodePrinter
-
- deltix.util.jcg.scg.NiceSourceCodePrinter
-
- deltix.util.jcg.scg.CSCodePrinter
-
public final class CSCodePrinter extends NiceSourceCodePrinter
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CSCodePrinter.ImportMode
-
Field Summary
-
Fields inherited from class deltix.util.jcg.scg.SourceCodePrinter
out
-
-
Constructor Summary
Constructors Constructor Description CSCodePrinter(java.lang.String namespace)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doPrintFooter(java.lang.StringBuilder out)
protected void
doPrintHeader(java.lang.StringBuilder out)
ImportTracker
getImportTracker()
java.lang.String
getNamespace()
java.lang.String
getTopComment()
void
setImportMode(CSCodePrinter.ImportMode mode)
void
setTopComment(java.lang.String topComment)
-
Methods inherited from class deltix.util.jcg.scg.NiceSourceCodePrinter
finish, getSourceCode, printRefClassName, printRefClassName
-
-
-
-
Method Detail
-
setImportMode
public void setImportMode(CSCodePrinter.ImportMode mode)
-
getImportTracker
public ImportTracker getImportTracker()
- Specified by:
getImportTracker
in classNiceSourceCodePrinter
-
getNamespace
public java.lang.String getNamespace()
-
getTopComment
public java.lang.String getTopComment()
-
setTopComment
public void setTopComment(java.lang.String topComment)
-
doPrintHeader
protected void doPrintHeader(java.lang.StringBuilder out)
- Specified by:
doPrintHeader
in classNiceSourceCodePrinter
-
doPrintFooter
protected void doPrintFooter(java.lang.StringBuilder out)
- Overrides:
doPrintFooter
in classNiceSourceCodePrinter
-
-