[jdom-interest] Public methods in XMLOutputter

Alex Chaffee guru at edamame.stinky.com
Thu Oct 26 11:27:41 PDT 2000

On Wed, Oct 25, 2000 at 11:15:43AM -0700, Elliotte Rusty Harold wrote:
> Is there any particular reason printDeclaration() and printDocType() in
> XMLOutputter are declared public when all the other print methods are
> protected? Shouldn't these two methods be protected as well?

Yes, they should, and there should be public "outputFoo()" versions
for each (that don't take an "indent" param).  I didn't get around to
that change yet.

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