public class JavaxXmlSerializer extends AbstractTextSerializer implements XmlSerializer, Initializable
Serializer.Options
Constructor and Description |
---|
JavaxXmlSerializer() |
Modifier and Type | Method and Description |
---|---|
void |
initialize()
Initialize the fragment
|
void |
serialize(Serializer.Options options,
Writer writer,
Object object) |
<T> Function<T,Document> |
toXmlFunction(Serializer.Options options) |
serialize
serialize, serialize, serialize, serialize, serializeEach, serializeEach, serializeEach, serializeEach, serializeFunction, serializeFunction, toBytes, toBytes, toBytesEach, toBytesEach, toBytesEach, toBytesEach, toBytesFunction, toBytesFunction
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
toXml, toXml, toXmlEach, toXmlEach, toXmlEach, toXmlEach, toXmlEach, toXmlEach, toXmlFunction
serialize, serialize, serialize, serialize, serialize, serializeEach, serializeEach, serializeEach, serializeEach, serializeFunction, serializeFunction, toBytes, toBytes, toBytesEach, toBytesEach, toBytesEach, toBytesEach, toBytesFunction, toBytesFunction
public void initialize() throws Exception
Initializable
initialize
in interface Initializable
Exception
- if something went wrongpublic void serialize(Serializer.Options options, Writer writer, @Optional Object object)
serialize
in interface Serializer
public <T> Function<T,Document> toXmlFunction(Serializer.Options options)
toXmlFunction
in interface XmlSerializer