[prev in list] [next in list] [prev in thread] [next in thread] 

List:       castor-user
Subject:    Re: [castor-user] [XML] Using Hashtable as Collection Type in XML-binding
From:       "Kalyani Jitesh" <j-kalyani () kj ! cnt ! jp ! nec ! com>
Date:       2005-03-16 4:13:55
Message-ID: 038b01c529de$923ee0c0$b318110a () first ! e1 ! mid ! mt ! nec ! co ! jp
[Download RAW message or body]


Hi Keith,

Thanks for your suggestion. Sorry to say currently I may not be able to do 
so.
But if we plan, I may communicate.

Thanks and Regards,
Jitesh


----- Original Message ----- 
From: "Keith Visco" <keith@kvisco.com>
To: <castor-user@exolab.org>
Sent: Wednesday, March 16, 2005 11:48 AM
Subject: Re: [castor-user] [XML] Using Hashtable as Collection Type in 
XML-binding


>
> 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
>> minimalist@exolab.org with a subject of:
>>         unsubscribe castor-user
>
>
>
> ----------------------------------------------------------- 
> If you wish to unsubscribe from this mailing, send mail to
> minimalist@exolab.org with a subject of:
>        unsubscribe castor-user 



----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
minimalist@exolab.org with a subject of:
        unsubscribe castor-user
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic