[jdom-interest] removeContent()

Bradley S. Huffman hip at a.cs.okstate.edu
Fri Jul 5 08:56:08 PDT 2002


elt.setContent(null) == elt.removeContent()

Brad

Damien Dudouit writes:

> Hello all,
> 
> I was just about to use elt.removeContent() and see JDom doesn't have such a 
> method. I
> understand it's not to hard to do instead elt.getContent().clear() but as the
> removeChildren() exists, wouldn't it be more consistent to have the former as
>  well?
> 
> Have a good day,
> 
> Dam
> 
> _______________________________________________
> 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