File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Castor/JAXB question

Shuai Liu
Ranch Hand
Posts: 49
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I am using Castor framework to do data binding and I am wondering whether I can get schema constraints back from auto-generated classes.
if I have a schema like this
<element name="someClass">
<element name="someProperty" userAttribute="userAttributeType">
<attribute name="userAttribute" type="userAttributeType" />
So from the SomeClass class, can I somehow get the userAttribute back?
Thank you for your attention.
I agree. Here's the link:
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic