Class XhtmlSink

    • Constructor Detail

      • XhtmlSink

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

        protected XhtmlSink​(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.
      • XhtmlSink

        protected XhtmlSink​(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.