Title: [XML] Implement an interface using a binding file?

Hello all. If I'm reading the docs for the binding file (http://castor.exolab.org/sourcegen.html#Binding-File) correctly, it's possible to have the <java-class> element make the generated class implement an interface. How would I specify that? I've tried every way I can think of with no luck. I still just get a class with no interface.

This is a snippet from my current file:

  <cbf:elementBinding name="complexType:MSType/interfaces">
    <cbf:java-class package="com.emc.mypackage" name="SI"/>   
  </cbf:elementBinding>

This successfully gets me a class named com.emc.mypackage.SI, but how do I get SI to implement an interface (say com.emc.mypackage.MyInterface)?

Any help would be greatly appreciated.

Thanks!

-Angelina Talley


----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-user

Reply via email to