[jdom-interest] setText() to replace children?

Brett McLaughlin brett at newInstance.com
Mon Jul 9 16:27:06 PDT 2001


One item in the TODO file:

* Consider if setText() should not replace children

I think setText() should set the text of the element, removing any other
text in the element. However, I don't think any other children (such as PIs,
comments, etc) should be affected. Does anyone agree/disagree? I'd like to
get rid of this one in a few days.

-Brett




More information about the jdom-interest mailing list