Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Castor/JAXB question

 
Shuai Liu
Ranch Hand
Posts: 49
  • 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.
i.e:
if I have a schema like this
<element name="someClass">
<complexType>
<sequence>
<element name="someProperty" userAttribute="userAttributeType">
...
</sequence>
</complexType>
<attribute name="userAttribute" type="userAttributeType" />
</element>
So from the SomeClass class, can I somehow get the userAttribute back?
Thank you for your attention.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic