maven-doxia-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Siveton" <>
Subject Design thoughts
Date Sun, 29 Jul 2007 21:06:50 GMT

As you know, Doxia modules need to be more consistents. Dennis pointed
the EOL problem today.

I recently added several markup interfaces. I see 2 types of markup
languages handles by Doxia: text (like APT) and xml (like xdoc). I
propose to encapsulate these things with the following interfaces:
Markup (core)
  |_ TextMarkup (core)
    |_ AptMarkup (module)
  |_ XmlMarkup (core)
    |_ XdocMarkup (module)

In a second step, I propose to create abstract TextSink and XmlSink to
encapsulate writer. With this, we will remove inconsistencies in the
output like LineBreaker (docbook, xdoc) vs PrintWriter (xhtml).



View raw message