com.fasterxml.jackson.dataformat.xml.ser.XmlBeanSerializer Maven / Gradle / Ivy
package com.fasterxml.jackson.dataformat.xml.ser;
import java.io.IOException;
import java.util.Set;
import com.fasterxml.jackson.core.JsonGenerator;
import com.fasterxml.jackson.databind.JsonSerializer;
import com.fasterxml.jackson.databind.SerializerProvider;
import com.fasterxml.jackson.databind.ser.BeanPropertyWriter;
import com.fasterxml.jackson.databind.ser.BeanSerializer;
import com.fasterxml.jackson.databind.ser.impl.BeanAsArraySerializer;
import com.fasterxml.jackson.databind.ser.impl.ObjectIdWriter;
import com.fasterxml.jackson.databind.ser.std.BeanSerializerBase;
import com.fasterxml.jackson.databind.util.NameTransformer;
/**
* Variant of {@link BeanSerializer} for XML handling.
*
* @author Pascal Gélinas
*/
public class XmlBeanSerializer extends XmlBeanSerializerBase
{
private static final long serialVersionUID = 1L;
/*
/**********************************************************
/* Life-cycle: constructors
/**********************************************************
*/
public XmlBeanSerializer(BeanSerializerBase src) {
super(src);
}
public XmlBeanSerializer(XmlBeanSerializerBase src, ObjectIdWriter objectIdWriter, Object filterId) {
super(src, objectIdWriter, filterId);
}
public XmlBeanSerializer(XmlBeanSerializerBase src, ObjectIdWriter objectIdWriter) {
super(src, objectIdWriter);
}
public XmlBeanSerializer(XmlBeanSerializerBase src, Set toIgnore) {
super(src, toIgnore);
}
/*
/**********************************************************
/* Life-cycle: factory methods, fluent factories
/**********************************************************
*/
@Override
public JsonSerializer
© 2015 - 2025 Weber Informatics LLC | Privacy Policy