maven-doxia-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brett Porter (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (DOXIA-28) XmlWriterXdocSink
Date Sun, 11 Dec 2005 02:15:47 GMT
    [ http://jira.codehaus.org/browse/DOXIA-28?page=comments#action_53204 ] 

Brett Porter commented on DOXIA-28:
-----------------------------------

Juan, can you explain the use for this over normal XDoc? I don't see why pretty printing xdoc
is important :)

> XmlWriterXdocSink
> -----------------
>
>          Key: DOXIA-28
>          URL: http://jira.codehaus.org/browse/DOXIA-28
>      Project: doxia
>         Type: Improvement

>     Reporter: Juan F. Codagnone
>  Attachments: 1.diff, XmlWriterXdocSink.java, XmlWriterXdocSink.java
>
>
> Hi,
> i implemented an XmlWriterXdocSink (an xdoc sink implementation that use 
> org.codehaus.plexus.util.xml.XMLWriter to output things). The cool thing 
> about using a XMLWriter is that you can use a PrettyPrintXMLWriter and make 
> the output easily readable. The implementation is based on XdocSink.java. I 
> attach the source file and the differences.
> You can use it as: new XmlWriterXdocSink(new PrettyPrintXMLWriter(writer, 
> "ISO-8859-1", null);
> Juan.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message