[jdom-interest] Text class

Trimmer, Todd todd.trimmer at trizetto.com
Tue May 29 08:25:36 PDT 2001


>> Question: Will setText(String) be removed when this Text class is
>> integrated, or will setText(String) be transparently promoted to
>> setText(Text) with all getText() calls returning Text?
>
>The latter. We won't make anyone use the Text class unless they want to,
>essentially.
>
>-Brett


This is beautifully illustrated by Element.java in my Node implementation
submission
(http://lists.denveronline.net/lists/jdom-interest/2001-May/006341.html).

The only time one has to deal with Text objects directly is when calling
elt.getMixedContent().


Todd Trimmer



More information about the jdom-interest mailing list