Skip to content

Conversation

obecker
Copy link
Contributor

@obecker obecker commented Jun 19, 2021

to have a central and easy to use entry point for configuring the HTML
rendering, and to hide the details of FlatHtml and IndentedHtml.

Adds static methods in Indenter for easy changing the indent depth.

This commits also adds @deprecated annotations to some methods and
fields that should be removed in a future version of the library, namely

  • some static fields of Config
  • the public visibility of FlatHtml and IndentedHtml

Resolves #193

to have a central and easy to use entry point for configuring the HTML
rendering, and to hide the details of FlatHtml and IndentedHtml.

Adds static methods in Indenter for easy changing the indent depth.

This commits also adds @deprecated annotations to some methods and
fields that should be removed in a future version of the library, namely
 - some static fields of Config
 - the public visibility of FlatHtml and IndentedHtml
@obecker
Copy link
Contributor Author

obecker commented Jun 19, 2021

@sembler by the way: feel free to suggest a better name, since DefaultHtmlBuilder does not implement the HtmlBuilder interface

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

render API simplification
1 participant