[jdom-interest] Text class (Modified)

Jason Hunter jhunter at collab.net
Mon May 28 11:32:49 PDT 2001

Amy Lewis wrote:
> >That needs to be == and final, the same as for other nodes.
> Should that pattern be opened to review?  Is object identity
> something that the API should enforce?  Subclasses can't change 
> that semantic, note.

It's necessary for elt.getMixedContent().remove(item) to work correctly,
as documented in the FAQ.  The fact subclasses can't change that
semantic is beneficial, as it keeps subclasses from breaking required


More information about the jdom-interest mailing list