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

Discussion in 'Java' started by SOndei, Jan 15, 2004.

  1. SOndei

    SOndei Guest

    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!
    SOndei, Jan 15, 2004
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.

Share This Page