users@jaxb.java.net

JAXB Customization collectionType

From: Prashant <prashant_at_pramati.com>
Date: Fri, 19 Aug 2005 09:38:21 +0530

Hello:

I have couple of questions on JAXB Customizations and a question on
Marshalling.

JAXB 1.0 Customization allow clients to choose the collection type at
global level and at a property level.

1. Is there any way to choose the collectionType to be Set but the impl
to be HashSet ?

2. Also for a child element whose maxOccurs="unbounded", I donot see
appropriate equals() and hashcode() in the generated Java Bean.
Is there anyway to plugin the equals() and hashcode() implementations ?

3. Is there anyway to know if the JAXB Generated Java Bean Tree is
modified, so as to Marshall only when its needed.

Thanks
-Prashant