[jdom-interest] detach() [eg]

Elliotte Rusty Harold elharo at metalab.unc.edu
Wed May 2 06:49:49 PDT 2001


At 1:58 AM +0200 5/2/01, Noam Tamim wrote:
>----- Original Message -----
>From: "Elliotte Rusty Harold" <elharo at metalab.unc.edu>
>To: <jdom-interest at jdom.org>
>Sent: Monday, April 30, 2001 16:07
>Subject: Re: [jdom-interest] detach() [eg]
>
>
>>  element.detach() violates that common understanding, especially since
>>  detach is not a reflexive verb.
>
>How about Element.removeFromParent() ?
>
>This method name is taken from javax.swing.tree.MutableTreeNode.
>

That sounds more correect to me.
-- 

+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo at metalab.unc.edu | Writer/Programmer |
+-----------------------+------------------------+-------------------+
|                  The XML Bible (IDG Books, 1999)                   |
|              http://metalab.unc.edu/xml/books/bible/               |
|   http://www.amazon.com/exec/obidos/ISBN=0764532367/cafeaulaitA/   |
+----------------------------------+---------------------------------+
|  Read Cafe au Lait for Java News:  http://metalab.unc.edu/javafaq/ |
|  Read Cafe con Leche for XML News: http://metalab.unc.edu/xml/     |
+----------------------------------+---------------------------------+



More information about the jdom-interest mailing list