public class JavaCodeGen extends Object implements CodeGenerator
| Constructor and Description |
|---|
JavaCodeGen() |
JavaCodeGen(CodeGenSettings codeGenSettings) |
| Modifier and Type | Method and Description |
|---|---|
String |
getFileExtension() |
void |
write(Appendable output,
Iterable<VIEWCommandNode> views)
Generates server-side code for the given views
|
void |
write(Appendable output,
VIEWCommandNode... views)
Generates server-side code for the given views
|
void |
writeCode(Appendable output,
CodeObject code) |
public JavaCodeGen()
public JavaCodeGen(CodeGenSettings codeGenSettings)
public String getFileExtension()
getFileExtension in interface CodeGeneratorpublic void write(Appendable output, VIEWCommandNode... views) throws IOException
write in interface CodeGeneratoroutput - views - IOExceptionpublic void write(Appendable output, Iterable<VIEWCommandNode> views) throws IOException
write in interface CodeGeneratoroutput - views - IOExceptionpublic void writeCode(Appendable output, CodeObject code) throws IOException
IOExceptionCopyright © 2014. All rights reserved.