Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

xsd mapping for java annotated class collection

 
manish ahuja
Ranch Hand
Posts: 312
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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,
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic