Constructor and Description |
---|
ObjectToXml(Class<T> clazz,
boolean format) |
ObjectToXml(String className,
boolean format) |
public ObjectToXml(String className, boolean format) throws ConvertException
ConvertException
public ObjectToXml(Class<T> clazz, boolean format) throws ConvertException
ConvertException
public String convert(T inputData) throws ConvertException
Converter
convert
in interface Converter<T,String>
inputData
- 要转换的对象ConvertException
- 转换中出现的异常Copyright © 2006–2018 TinyGroup. All rights reserved.