public class ModelEmitter extends Object
| Constructor and Description |
|---|
ModelEmitter(PrintWriter writer)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
emit(Model element)
Emits a Java DOM object into the target writer.
|
static void |
emit(Model element,
EmitContext context)
Emits a Java DOM object into the target context.
|
public ModelEmitter(PrintWriter writer)
writer - the target writerIllegalArgumentException - if the parameter is nullpublic void emit(Model element)
element - the target objectIllegalArgumentException - if the parameter is nullpublic static void emit(Model element, EmitContext context)
element - the target objectcontext - the current contextIllegalArgumentException - if the parameters are nullCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.