[jdom-interest] PROPOSAL: Remove most constructors from XMLOu tputter (was round trip XML)

Jason Hunter jhunter at collab.net
Wed Oct 18 10:02:49 PDT 2000


> That's also a neat idea, but can easily be done as static variables on
> XMLOutputter, e.g.
> 
> public class XMLOutputter {
> 
>         public static final XMLOutputter COMPACT = new XMLOutputter();
>         static {
>                 COMPACT.setTrimText(true);
>         }

But COMPACT is final.

-jh-



More information about the jdom-interest mailing list