Greetings All,

 

I have a xsdconfig file named statement.xsdconfig. This file resides in
the same directory as all of the XSD's from which my XMLBeans are
generated. It contains the following:

 

<xb:config 

xmlns:tns="http://statement.wealth.momentum"; 

xmlns:xb="http://xml.apache.org/xmlbeans/2004/02/xbean/config";>

<xb:extension for="momentum.wealth.statement.*">

        <xb:interface
name="momentum.wealth.statement.ContractNotesInterface">

 
<xb:staticHandler>momentum.wealth.statement.ContractNotesInterfaceHandle
r</xb:staticHandler>

        </xb:interface>

    </xb:extension>

</xb:config>

 

What I am trying to accomplish is to use the interface extension to get
the generated implementation classes to extend and additional interface
called ContractNotesInterface. 

 

Is the way I am trying to implement this correct in the above code?
Should the for contain the package name of the final java source files
or the xmlns:tns defined inside the XSD files? What exactly should the
staticHandler do? Thanks!

 

--

Kind Regards,

Schalk Neethling


This email and all content are subject to the following disclaimer:

http://content.momentum.co.za/content/legal/disclaimer_email.htm


Reply via email to