File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes XML and Related Technologies and the fly likes Betwixt -- Reader returning null Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Betwixt -- Reader returning null" Watch "Betwixt -- Reader returning null" New topic
Author

Betwixt -- Reader returning null

Manohar Karamballi
Ranch Hand

Joined: Jul 17, 2001
Posts: 227
Hello All,

I am newbie to Betwixt. I am trying some tutorial programs.
I succesfully executed the part of generating XML from bean instance.

When i tried XML-Bean I am getting null bean instance at command
BetwixtLearner learner = (BetwixtLearner) beanReader.parse(xmlReader);

I registerd class before calling parse method.

Please guide me out of this NULL.

Also pls explain why this registering class is requried?

Manohar
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Betwixt -- Reader returning null