Class XmlWriterXdocSink

  • All Implemented Interfaces:
    LogEnabled, HtmlMarkup, Markup, XmlMarkup, XdocMarkup, Sink

    public class XmlWriterXdocSink
    extends XdocSink
    Deprecated.
    Since 1.1, this sink is not more supported. If you are looking for a Sink which produces pretty formatted XML, you could use the XdocSink(java.io.Writer) as usual and reformat the Sink content produced with XmlUtil.prettyFormat(java.io.Reader, java.io.Writer).
    A Doxia Sink which produces an xdoc document.
    Version:
    $Id$
    • Field Detail

      • xdocWriter

        private java.io.StringWriter xdocWriter
        Deprecated.
        Writer used by Xdoc
      • xmlWriter

        private org.codehaus.plexus.util.xml.XMLWriter xmlWriter
        Deprecated.
    • Constructor Detail

      • XmlWriterXdocSink

        private XmlWriterXdocSink​(java.io.StringWriter out,
                                  java.lang.String encoding)
        Deprecated.
      • XmlWriterXdocSink

        public XmlWriterXdocSink​(org.codehaus.plexus.util.xml.XMLWriter out)
        Deprecated.
        since 1.1

        Constructor for XmlWriterXdocSink.

        Parameters:
        out - the wanted XML Writer.
    • Method Detail

      • close

        public void close()
        Deprecated.
        Close the writer or the stream, if needed. Closing a previously-closed Sink has no effect.
        Specified by:
        close in interface Sink
        Overrides:
        close in class XdocSink