maven-doxia-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dennis Lundberg <denn...@apache.org>
Subject Re: Design thoughts
Date Mon, 30 Jul 2007 09:01:53 GMT
Vincent Siveton wrote:
> Hi,
> 
> 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)

That sounds like a good separation of them.

> 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).

+1

> 
> Thoughts?
> 
> Vincent


-- 
Dennis Lundberg

Mime
View raw message