public enum TargetCodeGenerator extends Enum<TargetCodeGenerator>
| Modifier and Type | Method and Description |
|---|---|
static TargetCodeGenerator |
get(String name)
Do a case insensitive lookup of a target language for code generation.
|
abstract CodeGenerator |
newInstance(Ir ir,
String outputDir)
Get a new
CodeGenerator for the given target language. |
static TargetCodeGenerator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TargetCodeGenerator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TargetCodeGenerator JAVA
public static final TargetCodeGenerator CPP98
public static final TargetCodeGenerator CSHARP
public static TargetCodeGenerator[] values()
for (TargetCodeGenerator c : TargetCodeGenerator.values()) System.out.println(c);
public static TargetCodeGenerator valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic abstract CodeGenerator newInstance(Ir ir, String outputDir) throws IOException
CodeGenerator for the given target language.ir - describing the message schemas from which code should generated.outputDir - to which the generated code with be written.CodeGenerator for the given target language.IOException - if an error occurs when dealing with the output directory.public static TargetCodeGenerator get(String name)
name - of the target language to lookup.TargetCodeGenerator for the given language name.Copyright © 2013 Real Logic Ltd. All Rights Reserved.