[jdom-interest] RE: Request new method Element.addContent( List mixedContent ).
Steven D. Keens
skeens at planetfred.com
Thu Mar 29 08:14:42 PST 2001
Now that I've looked at it and thought about it some
more I believe that
public Element addContent( List mixedContent );
is more consistent with the current API. In fact more
consistent then setMixedContent(). I see setMixedContent()
as a convenience method that just clears the element's
current content before adding the mixedContent.
I've attached a version of Element for your perusal.
>From: Steven D. Keens [mailto:skeens at planetfred.com]
>Sent: Thursday, March 29, 2001 10:44
>Subject: Request new method Element.addContent( List mixedContent ).
>How useful would be a method that adds a list of
>mixed content to another element rather than just
>replacing the mixed content as does setMixedContent( List )?
>I suggest one of the methods
> public Element addContent( List mixedContent );
> public Element addMixedContent( List mixedContent );
>be added to Element. I'm willing to implement it
>if you think it's needed.
>Steven Keens mailto:skeens at planetfred.com
>PlanetFred Inc. http://www.planetfred.com
>44 Byward Market, Suite 240, Ottawa, ON, K1N 7A2, Canada
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 56023 bytes
Desc: not available
Url : http://jdom.org/pipermail/jdom-interest/attachments/20010329/f35d6b15/Element.obj
More information about the jdom-interest