setChildren (Was: [jdom-interest] setText() to replace children?)

Brett McLaughlin brett at newInstance.com
Tue Jul 10 08:29:55 PDT 2001


<snip />

> Oh, and could somebody remind me why there's both a setContent(List) and a
setChildren(List) method in Element? Is one of them deprecated and going
away?

OK, I'm +1 for dumping setChildren() [deprecating and then removing], as I
think it's redundant. That would leave setContent(), which is better, IMO.

Anyone against? This seems to be an easier one...

-Brett

> --
>
> +-----------------------+------------------------+-------------------+
> | Elliotte Rusty Harold | elharo at metalab.unc.edu | Writer/Programmer |
> +-----------------------+------------------------+-------------------+
> |          The XML Bible, 2nd Edition (Hungry Minds, 2001)           |
> |              http://www.ibiblio.org/xml/books/bible2/              |
> |   http://www.amazon.com/exec/obidos/ISBN=0764547607/cafeaulaitA/   |
> +----------------------------------+---------------------------------+
> |  Read Cafe au Lait for Java News:  http://www.cafeaulait.org/      |
> |  Read Cafe con Leche for XML News: http://www.ibiblio.org/xml/     |
> +----------------------------------+---------------------------------+
> _______________________________________________
> To control your jdom-interest membership:
>
http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhos
t.com




More information about the jdom-interest mailing list