stream
wdgkw
这个作者很懒,什么都没留下…
展开
-
processAnnotations
//实例化一个对象XStream XStream xstreamReq = new XStream(new DomDriver()); //对指定的类使用Annotations 进行序列化 xstreamReq.processAnnotations(EsLisGrpCont.class);原创 2015-01-28 00:55:02 · 2266 阅读 · 0 评论 -
XStream
public static T toBean(String rawxml,Class cls) throws XStreamException{ if(rawxml == null || "".equals(rawxml)) return null; XStream xstream; xstream = new X原创 2015-01-23 10:24:03 · 303 阅读 · 0 评论