@Singleton public class JAXBParser extends Object implements XMLParser
ParseXMLWithJAXBDEFAULT_XML_HEADER| Constructor and Description |
|---|
JAXBParser() |
public String toXML(Object src) throws IOException
XMLParsertoXML in interface XMLParserIOExceptionpublic <T> String toXML(Object src, Class<T> type) throws IOException
XMLParsertoXML in interface XMLParserIOExceptionpublic <T> T fromXML(String xml, Class<T> type) throws IOException
XMLParserfromXML in interface XMLParserIOExceptionCopyright © 2009-2012 jclouds. All Rights Reserved.