[jdom-interest] Element comparison

Bo Wang (Borders Online) BWANG at borders.com
Mon Jul 31 11:28:31 PDT 2000

I need some function to compare the element I created with the element in
the existing document so that I can remove it. I can't use remove(Element
name) method to do this becuase there are duplicated names. I can't use
object comparison in the List either since we can't manipulate the "parent"
and "isRootElement" ( the related methods are protected). The equals()
method is almost useless in this sense. Is there any good way to do this?
Thanks a lot!


More information about the jdom-interest mailing list