Hi,
I am new in JiBX and in my first usage of JiBX, I must use an (java) Enum. I
saw in the archive list some old messages about this question, and I would like
to know what is the easiest way to do that with JiBX 1.6.1.
My java code is :
public Long Convert(Long price, Currency inc, ....
....
public enum Currency
{
UsDollars,
Euros,
Yen,
....
}
If my understanding is good, I have to write a binding file. How ? Is the code
of the Currency.java complete ? How to set in the binding code the list of
restrictive value : UsDollars, ... (So in this case, if I modify the
Currency.java, I have to modify the binding file). Is it possible to not set
the restriction in the bindingfile (So, nothing to do if I modify the list of
enumeration in the Currency.java).
Thanks for pointers or exemple,
PHL.
[@@ THALES GROUP INTERNAL @@]
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users