File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes Help needed with unmarsheller Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Help needed with unmarsheller" Watch "Help needed with unmarsheller" New topic

Help needed with unmarsheller

amulya gudapati

Joined: Feb 27, 2008
Posts: 5
I have the below code

JAXBContext ctx;

try {

ctx = JAXBContext.newInstance("testpkg.test");
unMarshaller = ctx.createUnmarshaller();

reader = new StringReader(testXML);

testpkg.Test test =

Test is the java object from the test.xml file created using xjc compiler.

in test.xml I have an element <abc> value </abc>

now after the code above i need to get that element <abc> value into a String.

please help...
I agree. Here's the link:
subject: Help needed with unmarsheller
jQuery in Action, 3rd edition