public class Generator extends Object implements NameConverter
Constructor and Description |
---|
Generator(GeneratorSettings settings) |
Modifier and Type | Method and Description |
---|---|
void |
generate(Dialect dialect,
CodeWriter writer) |
void |
generate(DialectRepository repository,
CodeWriter writer) |
void |
generate(Runnable generateContent,
CodeWriter writer) |
void |
generateDefault(Dialect dialect,
String outputDir) |
void |
generateEmbraceBegin(CodeWriter writer,
String packageName) |
void |
generateEmbraceEnd(CodeWriter writer,
String packageName) |
void |
generateHelpers(CodeWriter writer) |
String |
getMsgTypeName(String msgType,
Dialect dialect) |
String |
getPlatformTypeName(TypeInfo type) |
String |
getTagsName(int tag,
Dialect dialect,
boolean useCodeOnly) |
String |
normalizeComment(String comment) |
String |
normalizeGroupName(String group) |
String |
normalizeName(String name) |
public Generator(GeneratorSettings settings)
public void generate(Runnable generateContent, CodeWriter writer)
public void generateDefault(Dialect dialect, String outputDir) throws IOException
IOException
public void generateEmbraceBegin(CodeWriter writer, String packageName)
public void generateEmbraceEnd(CodeWriter writer, String packageName)
public void generate(DialectRepository repository, CodeWriter writer) throws IOException
IOException
public void generate(Dialect dialect, CodeWriter writer)
public void generateHelpers(CodeWriter writer)
public String normalizeComment(String comment)
normalizeComment
in interface NameConverter
public String normalizeGroupName(String group)
normalizeGroupName
in interface NameConverter
public String normalizeName(String name)
normalizeName
in interface NameConverter
Copyright © 2005–2024 Onix Solutions. All rights reserved.