Interface HtmlFragmentBuilder

All Superinterfaces:
HasHtmlBuilderTarget, HtmlContentBuilder

public interface HtmlFragmentBuilder extends HtmlContentBuilder
Builder for building fragment of html. Call Object.toString() to get the result.

Instances can be created using SharedContext.createHtmlFragmentBuilderFor()
Since:
3.9.0
  • Method Details

    • finished

      void finished()
      This method will be only for performance improvements in the future, but now it should be called after the client is finished adding content, because it ensures interoperability with some old code.
      Throws:
      IllegalStateException - if already was called before