Hi Hoolam,

To specify the Java name for a value in the schema you need to use the 
value-name='...' attribute on a customization for that value. The IBM 
devWorks tutorial has some discussion of customizing values, though it 
doesn't use this particular attribute: 
http://www.ibm.com/developerworks/java/tutorials/j-jibx2/section8.html

I'll add this to one of the examples for 1.2.2.

  - Dennis

Dennis M. Sosnoski
XML and Web Services in Java
Training and Consulting
http://www.sosnoski.com - http://www.sosnoski.co.nz
Seattle, WA +1-425-939-0576 - Wellington, NZ +64-4-298-6117



Hoolam Woon wrote:
> Hello everyone,
>
> I've 2 question about codegen customization:
>
> (1) How does one instruct codegen to give get/set/test methods in the 
> binding.xml produced specific names?
>
> (2) How does one instruct codegen to add an attribute ordered="false" 
> to a mapping in the binding.xml produced?
>
> Can anyone help?
>
> Thanks in advance.
>
> Hoolam
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
> trial. Simplify your report design, integration and deployment - and focus on 
> what you do best, core application coding. Discover what's new with 
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> ------------------------------------------------------------------------
>
> _______________________________________________
> jibx-users mailing list
> jibx-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jibx-users
>   

------------------------------------------------------------------------------
Come build with us! The BlackBerry® 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/devconf
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to