public class BeanAtomConverter extends Object implements BeanConverter
| Modifier and Type | Field and Description |
|---|---|
static String |
ERROR_MESSAGE_FMT |
| Constructor and Description |
|---|
BeanAtomConverter() |
| Modifier and Type | Method and Description |
|---|---|
void |
append(Appendable buf,
Object pojo)
Serialize object to a buffer.
|
<T> T |
convertToObject(String xml,
Class<T> className) |
String |
convertToString(Object pojo) |
String |
convertToXml(Object obj) |
String |
getContentType() |
public static final String ERROR_MESSAGE_FMT
public String getContentType()
getContentType in interface BeanConverterpublic String convertToString(Object pojo)
convertToString in interface BeanConverterpublic <T> T convertToObject(String xml, Class<T> className)
convertToObject in interface BeanConverterpublic void append(Appendable buf, Object pojo) throws IOException
BeanConverterappend in interface BeanConverterbuf - Buffer to append topojo - Object to serializeIOException - If Appendable.append(char) throws an exception.Copyright © 2007-2012. All Rights Reserved.