[jdom-interest] Important proposal: Element/Document changes

tsasala at hifusion.com tsasala at hifusion.com
Fri Jul 28 09:39:12 PDT 2000


Brett McLaughlin wrote:
> 
> Chris Atkins wrote:
> >
> > I guess I am missing something.  To get the exact string, I first need to do
> > a getMixedContent() and find the one I want.  Once I do this, I might as
> > well modify the list and then call the correct method to replace the entire
> > contents of the element, same thing that you suggested for adding content at
> > a specific location.
> >
> > If this is correct, why have the method in the first place?
> 
> Agreed. removeContent(String text) seems stupid to me. I'm +1 on
> removing it, and since noone ever +1ed its addition, I'd like to get it
> out of the API. Too confusing, too unreliable.
> 
> -Brett
> 

	+1



More information about the jdom-interest mailing list