134135136137138139140
} @SuppressWarnings("unchecked") public <T> T fromXml(T object, Element el) throws Exception{ XStream s = createSerializer(); return (T) s.unmarshal(new JDomReader(el), object); }
89909192939495969798
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; }