public interface Generator
| Modifier and Type | Interface and Description |
|---|---|
static class |
Generator.Prop |
| Modifier and Type | Method and Description |
|---|---|
void |
fromJson(io.apptik.json.JsonObject job,
java.lang.String wrapperName,
java.io.File outDir) |
void |
fromSchema(io.apptik.json.schema.Schema schema,
java.lang.String wrapperName,
java.io.File outDir) |
void fromJson(io.apptik.json.JsonObject job,
java.lang.String wrapperName,
java.io.File outDir)
throws java.io.IOException
job - Json Object to create wrapper forwrapperName - the wrapper class name. May not be nulloutDir - the output directoryjava.io.IOExceptionvoid fromSchema(io.apptik.json.schema.Schema schema,
java.lang.String wrapperName,
java.io.File outDir)
throws java.io.IOException
schema - the schema describing the Json Object to create wrapper forwrapperName - the wrapper class name. If null then schema title is used instead.outDir - the output directoryjava.io.IOException