public class DmoEnumFormatter extends Object
| Constructor and Description |
|---|
DmoEnumFormatter() |
DmoEnumFormatter(PrintStream o) |
| Modifier and Type | Method and Description |
|---|---|
void |
dumpEnums(SchemaDefinition sd,
String outdir)
This method will generate the enum classes for all EnumDefinitions in the
specified schema.
|
void |
setFileHeader(String fh) |
public DmoEnumFormatter()
public DmoEnumFormatter(PrintStream o)
public void setFileHeader(String fh)
public void dumpEnums(SchemaDefinition sd, String outdir) throws IOException
sd - The schema.outdir - Where to dump the class.IOExceptionCopyright © 2023. All rights reserved.