[nbusers] Re: Code generation from XSD

  • From: Timon Veenstra < >
  • To:
  • Subject: [nbusers] Re: Code generation from XSD
  • Date: Sun, 14 Oct 2012 11:54:13 +0200

> I tried to move <xs:choice> into a separate complexType but got the same 
> result.
> Does anyone know how to eliminate these multiple references?
>
Defining an attribute with the type of the abstract class can only be
done if you mimic the same inheritance in your schema as well.
With jxb you can probably make that class abstract instead of a normal class.

        <xs:complexType name="WomensMagazine">
                <xs:complexContent>
                        <xs:extension base="Magazine">

from: http://www.ibm.com/developerworks/library/x-flexschema/

xjb:
http://docs.oracle.com/cd/E17802_01/webservices/webservices/docs/1.5/tutorial/doc/JAXBUsing4.html
http://blog.frankel.ch/customize-your-jaxb-bindings ;(which also
contains an example to define a superclass)


[nbusers] Code generation from XSD

Gary Greenberg 10/11/2012

[nbusers] Re: Code generation from XSD

Edson Richter 10/11/2012

[nbusers] Re: Code generation from XSD

Javier Ortiz 10/11/2012

[nbusers] Re: Code generation from XSD

Fabrizio Giudici 10/11/2012

[nbusers] Re: Code generation from XSD

Fabrizio Giudici 10/11/2012

[nbusers] Re: Code generation from XSD

Gary Greenberg 10/12/2012

[nbusers] Re: Code generation from XSD

Gary Greenberg 10/12/2012

[nbusers] Re: Code generation from XSD

Fabrizio Giudici 10/13/2012

[nbusers] Re: Code generation from XSD

Milos Kleint 10/13/2012

[nbusers] Re: Code generation from XSD

Gary Greenberg 10/14/2012

[nbusers] Re: Code generation from XSD

Timon Veenstra 10/14/2012

[nbusers] Re: Code generation from XSD

Gary Greenberg 10/16/2012

[nbusers] Re: Code generation from XSD

Timon Veenstra 10/16/2012

Project Features

About this Project

www was started in November 2009, is owned by jpirek, and has 21 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20131025.e7cbc9d). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close