[jdom-interest] Still to do - Text 'merger'

Rolf Lear jdom at tuis.net
Tue Apr 3 08:15:46 PDT 2012


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 <noel at peralex.com> wrote:
> void normalizeText(boolean recursive)
> 
> or
> 
> void normalizeTextNodes(boolean recursive)
> 
> 
> Disclaimer: http://www.peralex.com/disclaimer.html


More information about the jdom-interest mailing list