This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

xsd mapping for java annotated class collection

manish ahuja
Ranch Hand
Posts: 312
  • 0
  • 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.

It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic