标签:
XStream xStream = new XStream(); xStream.processAnnotations(XmlBean.class); XmlBean fromXML = (XmlBean) xStream.fromXML(result); List<News> news = fromXML.newslist.news;
XStream解析xml代码
原文地址:http://www.cnblogs.com/8023-itxinde/p/5352076.html