Lukas Theussl
added a comment - What I meant is to add a method like
void comment( String text )
to the Sink interface that allows you to translate eg an apt comment
~~ a comment
into an xml comment:
<!-- a comment -->
Dennis Lundberg
added a comment - This sounds like a good addition to the API. At least some of the generated formats supports comments, the others can just do nothing.
Lukas Theussl
added a comment - Done in r583267. Comments are implemented in Xdoc, Xhtml and Docbook parsers and sinks, and in AptSink. AptParser is still to do.
I updated the javadoc so do you think that the doc for sink api is enough?