Interface CodeGenerator

All Known Implementing Classes:
CGenerator, CppDtoGenerator, CppGenerator, CSharpDtoGenerator, CSharpGenerator, GolangGenerator, JavaDtoGenerator, JavaGenerator, RustGenerator
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface CodeGenerator
Abstraction for code generators to implement.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Generate the complete set of types and messages for a schema.
  • Method Details

    • generate

      void generate() throws IOException
      Generate the complete set of types and messages for a schema.
      Throws:
      IOException - if an error is encountered when writing the output.