com.dslplatform.json
Class XmlConverter

java.lang.Object
  extended by com.dslplatform.json.XmlConverter

public abstract class XmlConverter
extends Object


Constructor Summary
XmlConverter()
           
 
Method Summary
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlConverter

public XmlConverter()
Method Detail

serializeNullable

public static void serializeNullable(@Nullable
                                     Element value,
                                     JsonWriter sw)

serialize

public static void serialize(Element value,
                             JsonWriter sw)

deserialize

public static Element deserialize(JsonReader reader)
                           throws IOException
Throws:
IOException

mapToXml

public static Element mapToXml(Map<String,Object> map)
                        throws IOException
Throws:
IOException

deserializeCollection

public static ArrayList<Element> deserializeCollection(JsonReader reader)
                                                throws IOException
Throws:
IOException

deserializeCollection

public static void deserializeCollection(JsonReader reader,
                                         Collection<Element> res)
                                  throws IOException
Throws:
IOException

deserializeNullableCollection

public static ArrayList<Element> deserializeNullableCollection(JsonReader reader)
                                                        throws IOException
Throws:
IOException

deserializeNullableCollection

public static void deserializeNullableCollection(JsonReader reader,
                                                 Collection<Element> res)
                                          throws IOException
Throws:
IOException


Copyright © 2019. All rights reserved.