> -----Original Message-----
> From: valikov_at_gmx.net
> Sent: Fri, 1 Aug 2008 13:00:00 +0200
> To: users_at_jaxb.dev.java.net
> Subject: Re: Jaxb, problems without solutions ?
>
> Hi.
>
>>> -----Original Message-----
>>> From: valikov_at_gmx.net
>>> Sent: Fri, 1 Aug 2008 12:10:09 +0200
>>> To: users_at_jaxb.dev.java.net
>>> Subject: Re: Jaxb, problems without solutions ?
>>>
>>> Hi.
>>>
>>>> I have several problems with no answer. If anyone have a trick to
>>>> handle
>>>> thoses it would be nice.
>>>
>>> You may find https://ogc.dev.java.net project interesting.
>>>
>>
>> hm.. I just grabbed the svn source. But I dont understant the purpose
>> of this project. There are only xsd files in it.
>> All off those are available on the OGC schema ftp.
>>
>> Where are the java classes ???
>
> Well, build it. :)
>
> mvn clean install in the root.
>
> Bye.
> /lexi
Ok I get it, folder : generated-sources and in the jar.
Thoses are the default xjc classes. I dont have any interest in them.
Perhaps I can explain a bit more my problem.
I'm a developper on GeoTools and we already have style/sld classes.
Thoses classes implement GeoAPI interfaces which are a mix of GIS
specification (ISO and OGC) so our style classes doesnt match the
structure of the xml.
I tryed to use adapters and dummy classes but with only one result :
polluting the classes with methods, constructors, annotations, breaking
thread safety (no more immutable objects) and so on ...
A solution would be to proxy our classes with the default xjc classes
but it would be really slow and would only work one way (marshelling) .
May I ask how do you (I your work) use the resulting xjc classes ?
johann sorel
____________________________________________________________
GET FREE SMILEYS FOR YOUR IM & EMAIL - Learn more at
http://www.inbox.com/smileys
Works with AIM®, MSN® Messenger, Yahoo!® Messenger, ICQ®, Google Talk™ and most webmails