Jitesh,

I don't believe the binding file allows specifying the collection type as a Hashtable or Hashmap at this time. If this is a feature you need and you have some time to work on it, you might want to tweak the XMLBindingComponent.java, and if you contribute your changes back for the rest of the users even better.

Thanks,

--Keith

Kalyani Jitesh wrote:


Hi there,

I am reposting my query may be third time, in anticipation some one will help. Thanks in advance.


I am using xml-binding, generating source code with schema.

By default Catsor generating the source with Vector as Collection type.
If -types j2 option is used in SourceGen Collection type will be ArrayList.

Is there any Way / WorkAround to customize collection type as Hashtable OR HashMap?

So the objects in collection can be accessed faster, by specifying the KEY.



I am badly in need of this. Help appreciated.


Please reply. Thanks and Regards Jitesh


------------------------------------------------------------------------

----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-user



----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-user

Reply via email to