public abstract class JacksonXmlRenderFactoryBase extends java.lang.Object implements JsonRenderFactory
限定符和类型 | 字段和说明 |
---|---|
protected com.fasterxml.jackson.databind.module.SimpleModule |
module |
构造器和说明 |
---|
JacksonXmlRenderFactoryBase() |
限定符和类型 | 方法和说明 |
---|---|
<T> void |
addConvertor(java.lang.Class<T> clz,
Converter<T,java.lang.Object> converter)
添加数据转换器(用于简单场景)
|
<T> void |
addEncoder(java.lang.Class<T> clz,
com.fasterxml.jackson.databind.JsonSerializer<T> encoder) |
abstract com.fasterxml.jackson.dataformat.xml.XmlMapper |
config() |
protected void |
registerModule() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
create
public abstract com.fasterxml.jackson.dataformat.xml.XmlMapper config()
protected void registerModule()
public <T> void addEncoder(java.lang.Class<T> clz, com.fasterxml.jackson.databind.JsonSerializer<T> encoder)
public <T> void addConvertor(java.lang.Class<T> clz, Converter<T,java.lang.Object> converter)
JsonRenderFactory
addConvertor
在接口中 JsonRenderFactory