Women in Technology

Hear us Roar



Article:
  Understanding JAXB: Java Binding Customization
Subject:   Can I have all of the generated interfaces extend my custom interface?
Date:   2003-12-18 07:05:23
From:   anonymous2
You said that the implementation classes generated by JAXB can extend a common base class ,using the superClass extention, but I want the interfaces generated by JAXB to implement a common interface? How can I do that?
Full Threads Newest First

Showing messages 1 through 1 of 1.

  • Can I have all of the generated interfaces extend my custom interface?
    2003-12-18 10:49:14  hashimisayed [View]

    The reference implementation does not support this. The logic for why they don't support it is probably that if they allow you to specify a base interface then somehow the implementation classes have to provide implementation of the methods defined in that interface.