JAXB, Netbeans and Interface Insertion Plugin
- by segolas
Hi,
I can't get my generated classes to implements any interface.
This is my xml schema file:
            xmlns:jxb="http://java.sun.com/xml/ns/jaxb/"
            xmlns:ai="http://jaxb.dev.java.net/plugin/if_insertion"
            jxb:extensionBindingPrefixes="ai"
            
<xs:element name="header">
    <xs:annotation>
        <xs:appinfo>
            <ai:interfaces check="1">
              utility.RuleInterface
            </ai:interfaces>
        </xs:appinfo>
    </xs:annotation>
    <xs:complexType>
        bla bla bla
    </xs:complexType>
I checked the  "Extension" option in the JAXB options and I hav added the xjc-if-ins.jar to the "Libraries" section of my project Properties.
But the generated Header class doesn't implements the utility.RuleInterface.
I can figure out what am I doing wrong... Is it something missing?
Any idea?
regards,
Segolas