public abstract class XmlConverter extends Object
| Constructor and Description |
|---|
XmlConverter() |
| Modifier and Type | Method and Description |
|---|---|
static Element |
deserialize(JsonReader reader) |
static ArrayList<Element> |
deserializeCollection(JsonReader reader) |
static void |
deserializeCollection(JsonReader reader,
Collection<Element> res) |
static ArrayList<Element> |
deserializeNullableCollection(JsonReader reader) |
static void |
deserializeNullableCollection(JsonReader reader,
Collection<Element> res) |
static Element |
mapToXml(Map<String,Object> map) |
static void |
serialize(Element value,
JsonWriter sw) |
static void |
serializeNullable(Element value,
JsonWriter sw) |
public static void serializeNullable(@Nullable Element value, JsonWriter sw)
public static void serialize(Element value, JsonWriter sw)
public static Element deserialize(JsonReader reader) throws IOException
IOExceptionpublic static Element mapToXml(Map<String,Object> map) throws IOException
IOExceptionpublic static ArrayList<Element> deserializeCollection(JsonReader reader) throws IOException
IOExceptionpublic static void deserializeCollection(JsonReader reader, Collection<Element> res) throws IOException
IOExceptionpublic static ArrayList<Element> deserializeNullableCollection(JsonReader reader) throws IOException
IOExceptionpublic static void deserializeNullableCollection(JsonReader reader, Collection<Element> res) throws IOException
IOExceptionCopyright © 2023. All rights reserved.