Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization 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

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.

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic