This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes XML and Related Technologies and the fly likes Castor/JAXB question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Castor/JAXB question" Watch "Castor/JAXB question" New topic

Castor/JAXB question

Shuai Liu
Ranch Hand

Joined: Jan 25, 2002
Posts: 49
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:
subject: Castor/JAXB question
It's not a secret anymore!