M - the starting data format for the model to be inputedpublic class XmlWriter<M> extends AutoBeanWriter<M,String>
AutoBeanWriter that outputs XML.public XmlWriter(com.google.web.bindery.autobean.shared.AutoBeanFactory factory,
Class<M> clazz,
String rootTag)
factory - an auto bean factory that can decode objects of type Mclazz - the class to writerootTag - the root tag of the XML documentpublic String write(M model)
DataWritermodel - the source modelCopyright © 2012. All Rights Reserved.