[jdom-interest] Why should I have to detach()?
Jason Hunter
jhunter at acm.org
Fri Mar 23 11:38:47 PST 2001
> Do you think that with addContent( Element ), some programmers might expect
> the default behavior to act like Element.clone() and others might expect it
> to act like Element.detach()? Should JDOM make either assumption?
I believe addContent() should add content. Nothing more, nothing less.
There's no implicit clone and there's no implicit detach.
-jh-
More information about the jdom-interest
mailing list