I'm new to JAXB, but I got it working for my schema. However, whenever I
create an element like:
...
<xs:element name="guest" type="xs:string" minOccurs="0" maxOccurs="4"
/>
...
The Java class that is created has a getGuest() method instead of a
getGuests() method. Is there a way to have the xml name be "guest" and the
java name be "guests", using my example above? Sorry if this question has
been answered before, I couldn't find it anywhere.
Thanks,
Eric
--
View this message in context: http://www.nabble.com/Different-names-for-xml-and-java--tf4959188.html#a14203189
Sent from the java.net - jaxb users mailing list archive at Nabble.com.