Package com.thoughtworks.xstream.io.xml

Examples of com.thoughtworks.xstream.io.xml.JDomReader


  }

  @SuppressWarnings("unchecked")
  public <T> T fromXml(T object, Element el) throws Exception{
    XStream      s = createSerializer();
    return (T) s.unmarshal(new JDomReader(el), object);
  }
View Full Code Here


    return target;
  }
 
  AbstractReportTable fromXml(Element el){
    XStream          xs = ReportTableFactory.initXStream();
    JDomReader        reader = new JDomReader(el);
    AbstractReportTable    target = (AbstractReportTable)xs.unmarshal(reader);
    target.afterLoad();
    return target;
  }
View Full Code Here

TOP

Related Classes of com.thoughtworks.xstream.io.xml.JDomReader

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.