Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Can JAXB be used to get a Java representation of an XML Schema?

Reply
Thread Tools

Can JAXB be used to get a Java representation of an XML Schema?

 
 
SOndei
Guest
Posts: n/a
 
      01-15-2004
Hi all,

I would like to know if is it possible to use JAXB (part of the Java
Web Services Developer Pack v1.3) to get a Java object that represents
an XML Schema. I do not want to invoke the schema compiler against an
XML Schema to generate java classes at compile time, I want to
accomplish this at run time, getting a "java abstraction" of the XML
Schema file that let me investigate its structure.

I know that Castor has such a feature, I wonder if JAXB or something
else in the JWSDP has it too.

Thanks in advance!
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can Groovy be used in an applet and/or can it generate the Java bytecodes that then can be used in an applet? Casey Hawthorne Java 1 03-18-2009 12:56 AM
JAXB to get XML attributes Dj Frenzy Java 0 12-16-2004 09:35 PM
JAXB : expecting an automatical control in java source when restrictions are specified in XML schema Jean-Marie Condom Java 2 11-26-2004 09:19 AM
JAXB: Mapping XML to Existing Java Objects?? John Davison Java 3 07-26-2004 10:53 PM
XML to java using JAXB ? Petterson Mikael Java 0 09-02-2003 01:50 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57