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

    • xdocWriter

      private StringWriter xdocWriter
      Deprecated.
      Writer used by Xdoc
    • xmlWriter

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

    • XmlWriterXdocSink

      private XmlWriterXdocSink(StringWriter out, 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 Details

    • close

      public void close()
      Deprecated.

      close.

      Specified by:
      close in interface Sink
      Overrides:
      close in class XdocSink