public class LineStreamFormatGenerator extends Object
AbstractLineStreamFormat
class.Constructor and Description |
---|
LineStreamFormatGenerator(EmitContext context,
ModelDeclaration model,
LineFormatTrait.Configuration configuration)
creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
emit()
Emits an implementation of
AbstractLineStreamFormat class as a Java compilation unit. |
public LineStreamFormatGenerator(EmitContext context, ModelDeclaration model, LineFormatTrait.Configuration configuration)
context
- the current contextmodel
- the target modelconfiguration
- the format configurationpublic void emit() throws IOException
AbstractLineStreamFormat
class as a Java compilation unit.IOException
- if I/O error was occurred while emitting the compilation unitCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.