Module: Coradoc::Output

Extended by:
ProcessorRegistry
Defined in:
lib/coradoc/output.rb

Overview

Output module for document serialization

Provides a unified interface for document output processing. Format-specific output processors register themselves with this module.

Examples:

Registering an output processor

Coradoc::Output.define(MyHtmlProcessor)

Using a registered processor

processor = Coradoc::Output.get(:html_static)
html = processor.processor_execute(document, {})

Method Summary

Methods included from ProcessorRegistry

define, error_label=, for_file, get, process, processors, registered?, registry