@Deprecated public final class SimpleXmlConverterFactory extends Converter.Factory
This converter only applies for class types. Parameterized types (e.g., List<Foo>) are
not handled.
| Modifier and Type | Method and Description |
|---|---|
static SimpleXmlConverterFactory |
create()
Deprecated.
Create an instance using a default
Persister instance for conversion. |
static SimpleXmlConverterFactory |
create(org.simpleframework.xml.Serializer serializer)
Deprecated.
Create an instance using
serializer for conversion. |
static SimpleXmlConverterFactory |
createNonStrict()
Deprecated.
Create an instance using a default
Persister instance for non-strict conversion. |
static SimpleXmlConverterFactory |
createNonStrict(org.simpleframework.xml.Serializer serializer)
Deprecated.
Create an instance using
serializer for non-strict conversion. |
boolean |
isStrict()
Deprecated.
|
Converter<?,okhttp3.RequestBody> |
requestBodyConverter(Type type,
Annotation[] parameterAnnotations,
Annotation[] methodAnnotations,
Retrofit retrofit)
Deprecated.
|
Converter<okhttp3.ResponseBody,?> |
responseBodyConverter(Type type,
Annotation[] annotations,
Retrofit retrofit)
Deprecated.
|
getParameterUpperBound, getRawType, stringConverterpublic static SimpleXmlConverterFactory create()
Persister instance for conversion.public static SimpleXmlConverterFactory create(org.simpleframework.xml.Serializer serializer)
serializer for conversion.public static SimpleXmlConverterFactory createNonStrict()
Persister instance for non-strict conversion.public static SimpleXmlConverterFactory createNonStrict(org.simpleframework.xml.Serializer serializer)
serializer for non-strict conversion.public boolean isStrict()
public Converter<okhttp3.ResponseBody,?> responseBodyConverter(Type type, Annotation[] annotations, Retrofit retrofit)
responseBodyConverter in class Converter.Factorypublic Converter<?,okhttp3.RequestBody> requestBodyConverter(Type type, Annotation[] parameterAnnotations, Annotation[] methodAnnotations, Retrofit retrofit)
requestBodyConverter in class Converter.FactoryCopyright © 2018 Square, Inc.. All rights reserved.