![]() |
XML serializer: XML -> myClass Hi, in vb.net there is a way to serialize a class to a XML-document and the other way round. Is there also a simple way to do this in java for BlackBerry? I get a XML-document such like this one here: Quote:
Code: class user {So is there a Simple way to do this? Is there a kind of function which I can use for other classes also?? I hope you know what i want to do, and i hope that someone can help me :) thanks, hibbert |
use the native sax parser: net.rim.device.api.xml.parsers.SAXParser SAXParserFactory factory = SAXParserFactory.newInstance(); SAXParser saxParser = factory.newSAXParser(); |
Ok thanks, i will take a look at it :) But the only Examples i could find doesn't return a class or something like that or I don't understand what is done there, so it really doesn't help me at the moment. maybe you can give me another tip how to complete this :) thanks again hibbert |
ok, this is what i have got (so far) PHP Code: Quote:
thanks hibbert |
| All times are GMT -5. The time now is 03:43 AM. |
Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.