JAXB to get XML attributes

Discussion in 'Java' started by Dj Frenzy, Dec 16, 2004.

  1. Dj Frenzy

    Dj Frenzy Guest

    Hi, I'm using JAXB to process a XSD and generate a number of classes.
    I use these classes to build up a JTree with a visual representation
    of these elements (and attributes).

    It all works fine except that JAXB gives elements and attributes the
    same style method names, so just from looking at the generated output
    I cannot determine which variables are child elements that class, and
    which are simply attributes. Does anyone have any ideas how I can
    determine this?

    Cheers,
    David
     
    Dj Frenzy, Dec 16, 2004
    #1
    1. Advertising

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.
Similar Threads
  1. Petterson Mikael

    XML to java using JAXB ?

    Petterson Mikael, Sep 2, 2003, in forum: Java
    Replies:
    0
    Views:
    412
    Petterson Mikael
    Sep 2, 2003
  2. SOndei
    Replies:
    0
    Views:
    417
    SOndei
    Jan 15, 2004
  3. Jean-Marie Condom
    Replies:
    0
    Views:
    697
    Jean-Marie Condom
    Dec 16, 2004
  4. Dj Frenzy
    Replies:
    0
    Views:
    457
    Dj Frenzy
    Dec 16, 2004
  5. Replies:
    3
    Views:
    2,957
Loading...

Share This Page