File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes JAXB maxOccur/minOccur Annotation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "JAXB maxOccur/minOccur Annotation" Watch "JAXB maxOccur/minOccur Annotation" New topic
Author

JAXB maxOccur/minOccur Annotation

Luciano A. Pozzo
Ranch Hand

Joined: Jun 20, 2005
Posts: 112
Hi all,

There is a way to define maxOccur and minOccur using a JAXB annotation? I tried @XmlElement, but without success.

Thank's
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JAXB maxOccur/minOccur Annotation
 
It's not a secret anymore!