opensubscriber
   Find in this group all groups
 
Unknown more information…

j : jibx-users@lists.sourceforge.net 4 November 2009 • 3:43AM -0500

[jibx-users] Custom serializer/deserializer starting from schema
by Barreras Rodriguez, Ernesto

REPLY TO AUTHOR
 
REPLY TO GROUP







Hi,

I would like to use a custom serializer/deserializer for all Date fields in a given class as explained here (http://jibx.sourceforge.net/binding/tutorial/binding-extend.html#serdeser). My problem is that I am starting from the schema, I am not authoring the binding definition from scratch, which is generated by CodeGen instead. What want to avoid is having to manually modify the generated binding file to pass it to BindGen.

Is there a way to feed CodeGen with my custom <format> element definition so that it is included in the generated binding? Otherwise, could I create an extra binding definition containing my format which BindGen could then use as an extra input along with the generated binding?

I took a look at the available customizations for CodeGen and BindGen but couldn't find anything that seemed to help for what I need (but maybe I missed something).

Thanks in advance,

Ernesto


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
jibx-users mailing list
jibx-users@list...
https://lists.sourceforge.net/lists/listinfo/jibx-users

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

opensubscriber is not affiliated with the authors of this message nor responsible for its content.