This discussion is archived
1 Reply Latest reply: Feb 28, 2011 6:39 AM by jtahlborn RSS

How to unmarshal non-root JAXB class

824121 Newbie
Currently Being Moderated
How to unmarshal non-root JAXB class? I used work around to marshal an object without *@XmlRootElement*:
marshaller.marshal( new JAXBElement(
  new QName("uri","local"), MessageType.class, messageType ));
Now I need to unmarshal this object.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points