title: Generate java classes from XSD using intellij (JAXB plugin) that extends existing class file
body: <p>I have this XSD file:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
      &lt;xs:schema targetNamespace="http://www.example.com/dnavigator"
         xmlns:xs="http://www.w3.org/2001/XMLSchema"
         xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
         xmlns:dn="http://www.example.com/dnavigator"
         attributeFormDefault="unqualified"
         elementFormDefault="qualified"
         jaxb:version="2.0"&gt;
  
  &lt;xs:annotation&gt;
      &lt;xs:appinfo&gt;
          &lt;jaxb:globalBindings enableJavaNamingConventions="true"/&gt;
      &lt;/xs:appinfo&gt;
  &lt;/xs:annotation&gt;
  
  &lt;xs:element name="DynamicNavigators"&gt;
  
      &lt;xs:complexType&gt;
  
          &lt;xs:sequence&gt;
  
              &lt;xs:element name="DynamicNavigator"
                          type="dn:DynamicNavigator"
                          minOccurs="1"
                          maxOccurs="unbounded"&gt;
  
                  &lt;xs:annotation&gt;
  
                      &lt;xs:documentation&gt;
  
                      &lt;/xs:documentation&gt;
  
                      &lt;xs:appinfo&gt;
                          &lt;jaxb:property name="DynamicNavigators"/&gt;
                      &lt;/xs:appinfo&gt;
  
                  &lt;/xs:annotation&gt;
  
              &lt;/xs:element&gt;
  
          &lt;/xs:sequence&gt;
  
      &lt;/xs:complexType&gt;
  
  &lt;/xs:element&gt;
  
  &lt;xs:complexType name="DynamicNavigator"&gt;
  
      &lt;xs:sequence minOccurs="0"
                   maxOccurs="unbounded"&gt;
  
              &lt;xs:element name="example"
                          type="xs:string"
                          minOccurs="1"
                          maxOccurs="1"/&gt;
  
      &lt;/xs:sequence&gt;
  
  &lt;/xs:complexType&gt;
  
  &lt;/xs:schema&gt;
  </code></pre>
  
  <p>I want that the class DynamicNavigator that will be generated, extends the class com.example.MyClass</p>
  
  <p>How can I do it?</p>
  
  <p>Thank you.</p>