[jdom-interest] XMLOutputter newline and sockets
Jason Hunter
jhunter at collab.net
Wed Aug 22 15:43:03 PDT 2001
> I suspect that the best route would be something along the lines of a
> method:
>
> setFormat(Format myFormat)
>
> Or something similar. The format class could then include the existing
> flags, and
> new ones could be added without changes to the interface of the XMLOutputter
> class.
I tend to think we should stop making whitespace, indents, and newlines
separately tweakable and instead just provide the ability to do "raw",
"pretty", and "compressed". The difficulty is in what "pretty" means --
trim or normalize, two spaces, four spaces, or indents, etc.
-jh-
More information about the jdom-interest
mailing list