Interface IComposerFactory

All Known Implementing Classes:
ComposerFactory

public interface IComposerFactory
This factory interface defines the methods a composer factory should implement to create new composer.
Since:
7.0
Author:
Jon van Leuven
  • Method Details

    • create

      IComposer create(IProject project, IMetaModel model, IParserFactory parser, IComposerDS datasource)
      This method should create a new composer using the provided arguments.
      Parameters:
      project - Project containing various global definitions.
      model - Meta model containing the entity and attribute definitions (for the fields).
      parser - The expression parser that should be used when parsing expressions.
      datasource - Data source that provides the element definitions that should be added.
      Returns:
      Composer instance.
      Throws:
      InitializationException - This exception is thrown when the composer could not be initialized due to a fatal error.