[jdom-interest] XMLOutputter with line separator

Alex Chaffee guru at edamame.stinky.com
Thu Jul 13 00:37:36 PDT 2000


On Wed, Jul 12, 2000 at 12:10:52PM -0700, Elliotte Rusty Harold wrote:
> I've revised the XMLOutputter class to allow setting of line breaks as
> discussed here over the last week. The code is at 
> 
> http://metalab.unc.edu/xml/jdom/XMLOutputter.java
> 
> I've done some minimal testng and it seems OK.

I'd still like to add

    /** The default line separator for the current VM and platform */
    public final String SEPARATOR_LOCAL = System.getProperty("line.separator");

but otherwise, excellent!

(And I really wouldn't mind if it weren't there as long as it was
documented.)

 - A

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