public class JavaModelClassGenerator extends Object
Constructor and Description |
---|
JavaModelClassGenerator(DmdlSemantics semantics,
Configuration config,
JavaDataModelDriver driver)
Creates and returns a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
emit(ModelDeclaration model)
Emits a Java data model class of the model.
|
public JavaModelClassGenerator(DmdlSemantics semantics, Configuration config, JavaDataModelDriver driver)
semantics
- the root semantics modelconfig
- current configurationdriver
- the data model decoratorIllegalArgumentException
- if some parameters were null
public void emit(ModelDeclaration model) throws IOException
model
- target modelIOException
- if failed to output Java programsIllegalArgumentException
- if some parameters were null
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.