Women in Technology

Hear us Roar



Article:
  Generating an XML Document with JAXB
Subject:   unmarshalling
Date:   2009-04-03 12:01:50
From:   dvohra09
Response to: unmarshalling

What is variable xml?
Unmarshaller unMarshaller = jaxbContext.createUnmarshaller();
JAXBElement<JournalType> journalElement = (JAXBElement<JournalType>)
unMarshaller.unmarshal(new StreamSource(new ByteArrayInputStream(xml.getBytes())),JournalType.class);


JournalType journal= journalElement.getValue();


Does a different unmarshall method unmarshall?

Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • unmarshalling
    2009-09-17 22:27:37  sumapuji [View]

    Hi Deepak,

    I'm new for jaxb. Please provide for me one simple developed application on jaxb, then i will able to understand the flow on jaxb..
    I do not have any idea on marshalling and unmarshalling techniques.

    for runnning jaxb on my system, need i install any softwares?


    Please provide me valuable info. I will be thankful to u.


    Thanks,
    Suma