I need a generic parser that parses any type of XMl response. I am currently using XmlPullParser .. in which I pass xmlresponse from webservice and check the XmlPullParser.START_TAG and save the data in the Beans object accordingly.
for this, I create one bean, one parser for each of the web services that I process.
I went through one common analyzer through an iOS application that enters the entire start tag as an array into any web service and stores the data in a key-value pair, and gives one object that contains all the data .. so there is no need to create a Bean and a parser separately..
source
share