JAXB, Netbeans and Interface Insertion Plugin

Posted by segolas on Stack Overflow See other posts from Stack Overflow or by segolas
Published on 2010-04-16T15:16:48Z Indexed on 2010/04/16 17:23 UTC
Read the original article Hit count: 404

Filed under:

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

© Stack Overflow or respective owner

Related posts about jaxb