ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Understanding JAXB: Java Binding Customization
Subject:   Can I have all of the generated interfaces extend my custom interface?
Date:   2003-12-18 10:49:14
From:   hashimisayed
Response to: Can I have all of the generated interfaces extend my custom interface?

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.