Builder

class Builder

Step in the setup for a transform operation where the renderer must be specified.

class Object
trait Matchable
class Any

Value members

Concrete methods

def to[FMT](format: RenderFormat[FMT]): TransformerBuilder[FMT]

Creates and returns a new builder instance for the specified renderer and the previously specified parser.

Creates and returns a new builder instance for the specified renderer and the previously specified parser.

Value parameters:
format

the render format to use for the transformation

Returns:

a new builder instance for a Transformer

def to[FMT, PP](format: TwoPhaseRenderFormat[FMT, PP]): TwoPhaseTransformerBuilder[FMT, PP]

Returns a new builder instance for the specified two-phase render format and the previously specified parser.

Returns a new builder instance for the specified two-phase render format and the previously specified parser.

The format is usually an object provided by the library or a plugin that is capable of producing a specific output format like EPUB or PDF.

While the builder API for two-phase renderers is defined as part of the laika-core module, the concrete implementations of this renderer type that this library provides (EPUB and PDF) reside in sub-modules as they require the functionality of the laika-io module.