org.duelengine.duel.codegen
Class ClientCodeGen
java.lang.Object
org.duelengine.duel.codegen.ClientCodeGen
- All Implemented Interfaces:
- CodeGenerator
public class ClientCodeGen
- extends Object
- implements CodeGenerator
Generates client-side code for views
Inherently thread-safe as contains no mutable instance data.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClientCodeGen
public ClientCodeGen()
ClientCodeGen
public ClientCodeGen(CodeGenSettings settings)
getFileExtension
public String getFileExtension()
- Specified by:
getFileExtension in interface CodeGenerator
write
public void write(Appendable output,
VIEWCommandNode... views)
throws IOException
- Generates client-side code for the given views
- Specified by:
write in interface CodeGenerator
- Parameters:
output - views -
- Throws:
IOException
write
public void write(Appendable output,
Iterable<VIEWCommandNode> views)
throws IOException
- Generates client-side code for the given views
- Specified by:
write in interface CodeGenerator
- Parameters:
output - views -
- Throws:
IOException
Copyright © 2012. All Rights Reserved.