Module dev.metaschema.databind
Package dev.metaschema.databind.codegen
Interface IModuleBindingGenerator
- All Known Implementing Classes:
DefaultModuleBindingGenerator
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A functional interface for generating bound Java classes from a Metaschema
module.
Implementations of this interface are responsible for generating, compiling, and loading Java classes that represent the module and its definitions.
-
Method Summary
Modifier and TypeMethodDescriptionClass<? extends IBoundModule>Generate bound Java classes for the provided Metaschema module.
-
Method Details
-
generate
Generate bound Java classes for the provided Metaschema module.- Parameters:
module- the Metaschema module to generate classes for- Returns:
- the generated bound module class
- Throws:
MetaschemaException- if an error occurs during generation or compilation
-