users@jaxb.java.net

Re: super interface for some generated classes

From: Dmitri Colebatch <dim_at_colebatch.com>
Date: Wed, 28 Jun 2006 11:47:13 +1000

On 6/28/06, Kasia Trapszo <kasia_at_trapszo.com> wrote:
> Why not split the schema then?

Because I don't have control over the schema.

<rant>
And this leads to my main gripe with the architecture of xjc and its
RI extensions. Putting java specific content in a schema is (imho)
completely wrong. We use webservices because we send and receive
messages to and from third parties who don't use java (with the
exception of one or two). I shouldn't need to change the schema in
order to change the internals of my application.
</rant>

I'm more than open to suggestions, but without the ability to change
the schema it seems I cant make this happen.

cheers
dim

>
> On Jun 27, 2006, at 9:37 PM, Dmitri Colebatch wrote:
>
> > Perhaps I wasn't clear. The currently functionality allows for _all_
> > of the generated classes to have a common superclass (or interface).
> >
> > The functionality I am after is to be able to specify this on a node
> > by node basis.
> >
> > cheers
> > dim
> >
> > On 6/28/06, Kasia Trapszo <kasia_at_trapszo.com> wrote:
> >> It's a common requirement:
> >>
> >> http://java.sun.com/webservices/docs/2.0/jaxb/
> >> vendorCustomizations.html#superclass
> >>
> >> On Jun 27, 2006, at 9:28 PM, Dmitri Colebatch wrote:
> >>
> >> > Hi all,
> >> >
> >> > I'm assuming this isn't possible, but am wondering why not. I
> >> would
> >> > like some of my generated classes to have a common super interface.
> >> > Whilst technically speaking it might make more sense to do through
> >> > through schema inheritance, in this case I don't have that level on
> >> > control.
> >> >
> >> > Does anyone else have this need? Is it actually possible?
> >> >
> >> > cheers
> >> > dim
> >> >
> >> >
> >> ---------------------------------------------------------------------
> >> > To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
> >> > For additional commands, e-mail: users-help_at_jaxb.dev.java.net
> >> >
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
> >> For additional commands, e-mail: users-help_at_jaxb.dev.java.net
> >>
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
> > For additional commands, e-mail: users-help_at_jaxb.dev.java.net
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
> For additional commands, e-mail: users-help_at_jaxb.dev.java.net
>
>