[jdom-interest] Missing Element.setName
Brett McLaughlin
brett.mclaughlin at lutris.com
Mon Jun 26 12:30:53 PDT 2000
Gabor Greif wrote:
>
> Now I encountered a situation where call in Element.setName
> would be the best soulution.
>
> My alternative would be to add a new Element into the parent's contents at
> the appropriate index and remove the old named Element from it.
>
> This seem to be a rather heavy-weight solution to a simple problem and I
> wonder if ther is a more elegant way to do this?
>
> Should a Element.setName method be added?
> Why was Element.setName not considered in first place?
Actually it was discussed, and was in the API, and was taken out... It
was a long and painful process ;-)
Rather than try, I'm going to defer to Elliotte, who raised the most
noise, and let him comment. Elliotte? Could you please summarize why you
were against a setName on Element?
Thanks,
Brett
>
> Thanks,
>
> Gabor
>
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com
--
Brett McLaughlin, Enhydra Strategist
Lutris Technologies, Inc.
1200 Pacific Avenue, Suite 300
Santa Cruz, CA 95060 USA
http://www.lutris.com
http://www.enhydra.org
More information about the jdom-interest
mailing list