File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 REST with Spring (video course) this week in the Spring 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
jQuery in Action, 3rd edition