You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@xmlbeans.apache.org by Arnab Mukherjee <am...@kana.com> on 2008/10/03 21:36:08 UTC

"binding" for xmlbeans

Hi,

Is there any way to "bind" a class name to an element/type? Any
annotations etc. like what JAXB supports?

Thanks.

- Arnab


RE: "binding" for xmlbeans

Posted by Cezar Andrei <ce...@oracle.com>.
XMLBeans doesn't help with fully substitute a class with one of your own, but it lets you specify a way to enhance the generated class with your own behavior. For details see the following: 

http://wiki.apache.org/xmlbeans/ExtensionInterfacesFeature

http://wiki.apache.org/xmlbeans/PrePostSetFeature

 

Cezar

 

________________________________

From: Arnab Mukherjee [mailto:amukherjee@kana.com] 
Sent: Friday, October 03, 2008 2:36 PM
To: user@xmlbeans.apache.org
Subject: "binding" for xmlbeans

 

Hi,

Is there any way to "bind" a class name to an element/type? Any annotations etc. like what JAXB supports?

Thanks.

- Arnab