public static class SimpleXml.Builder
extends java.lang.Object
| Constructor | Description |
|---|---|
Builder() |
| Modifier and Type | Method | Description |
|---|---|---|
SimpleXml.Builder |
addDeserializer(java.lang.Class<?> c,
ObjectDeserializer deserializer) |
|
SimpleXml.Builder |
addSerializer(java.lang.Class<?> c,
ObjectSerializer serializer) |
|
SimpleXml |
build() |
|
SimpleXml.Builder |
charset(java.nio.charset.Charset charset) |
|
SimpleXml.Builder |
defaultSerializer(ObjectSerializer serializer) |
|
SimpleXml.Builder |
shouldEncodeUTF8() |
|
SimpleXml.Builder |
shouldEncodeUTF8(boolean shouldEncodeUTF8) |
|
SimpleXml.Builder |
shouldPrettyPrint() |
|
SimpleXml.Builder |
shouldPrettyPrint(boolean shouldPrettyPrint) |
public SimpleXml.Builder defaultSerializer(ObjectSerializer serializer)
public SimpleXml.Builder addSerializer(java.lang.Class<?> c, ObjectSerializer serializer)
public SimpleXml.Builder addDeserializer(java.lang.Class<?> c, ObjectDeserializer deserializer)
public SimpleXml.Builder shouldPrettyPrint()
public SimpleXml.Builder shouldPrettyPrint(boolean shouldPrettyPrint)
public SimpleXml.Builder shouldEncodeUTF8()
public SimpleXml.Builder shouldEncodeUTF8(boolean shouldEncodeUTF8)
public SimpleXml.Builder charset(java.nio.charset.Charset charset)
public SimpleXml build()
Copyright © 2018. All rights reserved.