[jdom-interest] insertChild in Element

Trebor A. Rude trebor at bwn.net
Tue Aug 29 19:33:02 PDT 2000


On Tue, 29 Aug 2000, Chris Hamersley wrote:
>Hi All,
>
>I could really use an insertChild(int aIndex, Element aChild) method in
> the Element class.  I think I'm going to go ahead and add this but was
> wondering if it could become incorporated so I don't have to add this
> feature to future releases.
>
>Regards,
>Chris Hamersley
>
>_______________________________________________
>To control your jdom-interest membership:
>http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@your
>host.com

	You can do this by calling getChldren() and using the add(int index, 
Object element) method of the List that is returned.  It will modify the 
document also.

-- 
Trebor A. Rude
trebor at bwn.net
Registered Linux User #89308
http://counter.li.org/



More information about the jdom-interest mailing list