"alesj" wrote : "adrian(a)jboss.org" wrote :
| | Would mean that "one" in the xml gets translated to the ONE enum value.
| And where does that '1' get used?
| OK, no need to answer, I'll use 'Suck it and see' principle. ;-)
It doesn't. The "1" gets used if you do this:
| @XmlEnum(Integer.class)
| public enum Numbers
| {
| ONE(1)
| }
|
i.e. a "1" in the xml maps to the ONE enum value.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137370#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...