stanlick wrote:
> I am trying to consume the http response from a server that generated
> the payload via java.beans.XMLEncoder.  Unfortunately, there is no
> corresponding XMLDecoder in Android so I am sitting here staring at
> perfectly valid XML (although ugly) wondering how I can deserialize it
> back into the ArrayList of Objects that produced it in the first
> place.  The beans in the ArrayList are trivial and do not contain any
> complex data types.  Also, the ArrayList is regulated to contain at
> most ten of these simple beans.
> 
> What is the preferred approach to process this XML stream in Android?

Not knowing the actual XML structure of your document, I would vote SAX.
 Faster-performing than DOM, more standard than the XmlPullParser.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

_The Busy Coder's Guide to Android Development_ Version 2.8
Available!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to