GeeCON Prague 2014*
The moose likes XML and Related Technologies and the fly likes xsd mapping for java annotated class collection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "xsd mapping for java annotated class collection" Watch "xsd mapping for java annotated class collection" New topic
Author

xsd mapping for java annotated class collection

manish ahuja
Ranch Hand

Joined: Oct 23, 2003
Posts: 312
All,

I am currently in the process of creating a schema. One of the java classes we have to map to is something like Arraylist<CustomClass>.

CustomClass is a simple POJO data container class

Custom Class {

Integer sNo;
Integer lienCount;
String description;

}

How do I construct the xml schema complex type which can be representative of Arraylist<CustomClass>. Should I use anyType as the data Type


Let me know your thoughts.

Thanks,
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: xsd mapping for java annotated class collection