Package com.io7m.cedarbridge.codegen.java

# Class CBCGJavaFactory

java.lang.Object
com.io7m.cedarbridge.codegen.java.CBCGJavaFactory

All Implemented Interfaces:
  `CBSPICodeGeneratorFactoryType`

public final class CBCGJavaFactory extends Object implements CBSPICodeGeneratorFactoryType
A factory of Java code generators.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `CBCGJavaFactory()`
  Construct a code generator factory.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `CBSPICodeGeneratorType`
  `createGenerator(CBSPICodeGeneratorConfiguration configuration)`
  Create a new code generator based on the given configuration values.
  `CBSPICodeGeneratorDescription`
  `description()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### CBCGJavaFactory

    public CBCGJavaFactory()
    Construct a code generator factory.

- ## Method Details

  - ### description

    public CBSPICodeGeneratorDescription description()
    Specified by:
      `description` in interface `CBSPICodeGeneratorFactoryType`
    Returns:
      The description of the code generators

  - ### createGenerator

    public CBSPICodeGeneratorType createGenerator(CBSPICodeGeneratorConfiguration configuration)
    Description copied from interface: `CBSPICodeGeneratorFactoryType`
    Create a new code generator based on the given configuration values.
    Specified by:
      `createGenerator` in interface `CBSPICodeGeneratorFactoryType`
    Parameters:
      `configuration` - The configuration values
    Returns:
      A code generator