Package com.io7m.cedarbridge.codegen.javastatic

# Class CBCGJavaSFactory

java.lang.Object
com.io7m.cedarbridge.codegen.javastatic.CBCGJavaSFactory

All Implemented Interfaces:
  `CBSPICodeGeneratorFactoryType`

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

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `CBCGJavaSFactory()`
  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

  - ### CBCGJavaSFactory

    public CBCGJavaSFactory()
    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