| Author |
Problem while using JAXB
|
Ravindra S Kshirsagar
Greenhorn
Joined: Jun 10, 2005
Posts: 1
|
|
Hi, I am generating java classes form one .xsd file using JAXB. JAXB is generating setter and getter methods for all my xsd tags leaving one setter method for a tag. This tag is - <xs:element ref="sswfm:FormElement" minOccurs="0" maxOccurs="unbounded"/> It is creating the getter method for this tag like this- java.util.List getFormElement(); but do not create setter method. And When i remove the minOccurs="0" maxOccurs="unbounded, it is creating the setter method for this tag.But i want to keep this tag as it it and needs the setter method also. What should i do? Thank you in advance.
|
 |
 |
|
|
subject: Problem while using JAXB
|
|
|