equals and hashCode

"Natan Cox" <[email protected]> Fri, 04 Apr 2003 08:35:10 +0000
Newsgroups gmane.comp.java.enhydra.zeus
Message-ID <[email protected]>
Hi

Are there any plans allow as an option to generate equals and hashCode 
methods? I really like Zeus (for its simplicity and support of good old 
DTDs) and I use it a lot but now I need an equals method and it is not 
there.

I understand it is hard to define equals, but how about 'same attributes and 
if present same PCDATA and nested tags (in the same order)'.

Adding a wrapper class is not really an option because I have to do it for 
each and every tag which is to much work. Wrappers should contain other 
wrappers which basically forces me to build a new structure on top of the 
Zeus data structure.


Thanks
Natan


_________________________________________________________________