Re: Still to do - Text 'merger'
Rolf Lear <[email protected]> Tue, 03 Apr 2012 11:15:46 -0400
| Newsgroups | gmane.comp.java.jdom.general |
|---|---|
| Message-ID | <[email protected]> |
I was specifically trying to avoid the normalize word.... it has additional connotations in JDOM, in the sense that it is already part of the Element's API which does a 'different' thing (trims and normalizes internal whitespace): http://hunterhacker.github.com/jdom/jdom2/apidocs/org/jdom2/Element.html#getTextNormalize%28%29 I assume though that you think it is a good idea to push it in before 2.0.0? If it helps, the method name I currently have is called 'mergeAdjacentText()' What about putting it at the document level too? That would involve a change to Document, Parent, and Element....? Rolf On Tue, 03 Apr 2012 17:01:27 +0200, Noel Grandin <[email protected]> wrote: > void normalizeText(boolean recursive) > > or > > void normalizeTextNodes(boolean recursive) > > > Disclaimer: http://www.peralex.com/disclaimer.html _______________________________________________ To control your jdom-interest membership: http://www.jdom.org/mailman/options/jdom-interest/[email protected]