[jdom-interest] no getChildTextNormalize() ?

Jason Hunter jhunter at collab.net
Tue Sep 25 11:12:35 PDT 2001


When getChildText() and getChildTextTrim() were added we didn't have the
normalize feature.  They were a little controversial to add, so when we
added the normalize feature, I wasn't eager to propose another.  :-)  It
probably makes sense though.  I at least use the getChildText*() methods
a lot.

-jh-

Kent Johnson wrote:
> 
> is there any particular reason why there is no
> Element.getChildTextNormalize() method?  there is:
> 
> getText()
> getTextTrim()
> getTextNormalize()
> -and-
> getChildText()
> getChildTextTrim()
> -but no-
> getChildTextNormalize()
> 
> ...it just seemed like logical thing to have.  until then people must use:
> getChild().getTextNormalize()
> 
> thanks for filling me in,
> kent
> 
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com



More information about the jdom-interest mailing list