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: XmlWriterXdocSink.java 746992 2009-02-23 12:35:59Z vsiveton $
    Author:
    juan James Taylor, Juan F. Codagnone (replaced println with XmlWriterXdocSink)
    • Constructor Detail

      • 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