- 所有已知实现类:
DocHtmlPrinter,DocTeXPrinter,StringPrinter
public interface Printer<Out,Config extends PrinterConfig>
This class was designed to support various PrettyPrint backend.
Example usage:
public class HtmlPrinter implements Printer[HtmlPrinterConfig] {}
For a more practical example, see StringPrinter
-
方法概要
-
方法详细资料
-
render
Render aDocobject with a config.- 参数:
config- printer configdoc- doc object- 返回:
- rendered content
-