Class Xhtml5Sink

All Implemented Interfaces:
LogEnabled, HtmlMarkup, Markup, XmlMarkup, Xhtml5Markup, Sink

public class Xhtml5Sink extends Xhtml5BaseSink implements Xhtml5Markup
XHTML 5.2 sink implementation.
  • Field Details

    • encoding

      private String encoding
    • languageId

      private String languageId
    • headTitleFlag

      private boolean headTitleFlag
      An indication on if we're inside a head title.
  • Constructor Details

    • Xhtml5Sink

      protected Xhtml5Sink(Writer writer)
      Constructor, initialize the Writer.
      Parameters:
      writer - not null writer to write the result.
    • Xhtml5Sink

      protected Xhtml5Sink(Writer writer, String encoding)
      Constructor, initialize the Writer and tells which encoding is used.
      Parameters:
      writer - not null writer to write the result.
      encoding - the encoding used, that should be written to the generated HTML content if not null.
    • Xhtml5Sink

      protected Xhtml5Sink(Writer writer, String encoding, String languageId)
      Constructor, initialize the Writer and tells which encoding and languageId are used.
      Parameters:
      writer - not null writer to write the result.
      encoding - the encoding used, that should be written to the generated HTML content if not null.
      languageId - language identifier for the root element as defined by IETF BCP 47, Tags for the Identification of Languages; in addition, the empty string may be specified.
  • Method Details