public class DataObjectCodeGenerator
extends io.vertx.codegen.Generator<io.vertx.codegen.Model>
| Modifier and Type | Field and Description |
|---|---|
String |
filename |
freemarker.template.Template |
template |
String |
templateFilename |
| Constructor and Description |
|---|
DataObjectCodeGenerator() |
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
adjustedImports(io.vertx.codegen.type.ClassTypeInfo type,
Set<io.vertx.codegen.type.TypeInfo> importedTypes,
Set<io.vertx.codegen.type.TypeInfo> superTypes) |
String |
filename(io.vertx.codegen.Model model) |
boolean |
isAllSuperTypesAbstract(Set<io.vertx.codegen.type.TypeInfo> superTypes) |
void |
load(ProcessingEnvironment processingEnv) |
String |
render(io.vertx.codegen.Model model,
int index,
int size,
Map<String,Object> session) |
public String filename
public String templateFilename
public freemarker.template.Template template
public void load(ProcessingEnvironment processingEnv)
load in class io.vertx.codegen.Generator<io.vertx.codegen.Model>public String filename(io.vertx.codegen.Model model)
filename in class io.vertx.codegen.Generator<io.vertx.codegen.Model>public String render(io.vertx.codegen.Model model, int index, int size, Map<String,Object> session)
render in class io.vertx.codegen.Generator<io.vertx.codegen.Model>public Set<String> adjustedImports(io.vertx.codegen.type.ClassTypeInfo type, Set<io.vertx.codegen.type.TypeInfo> importedTypes, Set<io.vertx.codegen.type.TypeInfo> superTypes)
public boolean isAllSuperTypesAbstract(Set<io.vertx.codegen.type.TypeInfo> superTypes)
Copyright © 2016–2018 vert.x. All rights reserved.