5556575859606162636465
public String toXml() { XMLFactory factory = new XMLFactory(Page.class, getModelClass()); String xml = null; try { xml = factory.marshal(this); } catch (Exception e) { LOG.error("生成XML出错",e); } return xml; }