Class Xhtml5Sink

    • Constructor Detail

      • 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.