users@jaxb.java.net

Using custom annotations with JAXB

From: Brennan Spies <brennanspies_at_hotmail.com>
Date: Tue, 7 Aug 2007 05:20:14 +0000

Hi all,
 
I am writing an API to bind JavaBeans to XForms elements, and would like to provide a custom set of annotations for doing so (e.g., @Form, @Bind, etc.), but have JAXB do all the heavy lifting of marshalling/unmarshalling. Is there a simple way of mapping these annotations to the equivalent JAXB annotations? The only way I can see for doing so would be to implement my own RuntimeInlineAnnotationReader class...
_________________________________________________________________
Learn. Laugh. Share. Reallivemoms is right place!
http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us