[jdom-interest] XMLOutputter

Alex Chaffee guru at edamame.stinky.com
Tue Jul 4 03:10:44 PDT 2000


On Wed, Jun 28, 2000 at 05:21:42PM -0700, Jason Hunter wrote:
> I was just perusing through Enhydra's XMLC package and in there they
> have a class called DOMFormatter that plays a role similar to JDOM's
> XMLOutputter.  What's interesting is they have an OutputOptions class
> they pass to its constructor where they tweak behavior.  

The options sound great, but I can do without the extra OutputOptions
class.  Just make them properties of XMLOutputter.  What's the purpose
of having a whole separate class for options?  Just more typing (an
extra "new" command) as far as I can tell.

-- 
Alex Chaffee                       mailto:alex at jguru.com
jGuru - Java News and FAQs         http://www.jguru.com/alex/
Creator of Gamelan                 http://www.gamelan.com/
Founder of Purple Technology       http://www.purpletech.com/
Curator of Stinky Art Collective   http://www.stinky.com/



More information about the jdom-interest mailing list