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 null
public void emit(Model element)
element
- the target objectIllegalArgumentException
- if the parameter is null
public static void emit(Model element, EmitContext context)
element
- the target objectcontext
- the current contextIllegalArgumentException
- if the parameters are null
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.