Skip to content

Converter implementation for Square's retrofit library which uses Simple XML for serialization and deserialization of entities.

License

Notifications You must be signed in to change notification settings

aegis123/retrofit-simplexmlconverter

Repository files navigation

retrofit-simplexmlconverter

Converter implementation for Square's retrofit library which uses Simple XML for serialization and deserialization of entities.

Usage

Using the converter is as simple as creating your RestAdapter as usual and calling setConverter(...) with an instance of SimpleXmlConverter:

RestAdapter restAdapter = new RestAdapter.Builder()
    .setServer(...)
    .setConverter(new SimpleXmlConverter())
    .build();

Optionally you can provide your own Serializer to the constructor.

If you are building with ant, download the Simple XML library and add it to your libs folder manually.

Download

Download the latest JAR or grab via Maven:

<dependency>
    <groupId>com.mobprofs</groupId>
    <artifactId>retrofit-simplexmlconverter</artifactId>
    <version>(insert latest version)</version>
</dependency>

License

Copyright 2013 Mobile Professionals

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

githalytics.com alpha

About

Converter implementation for Square's retrofit library which uses Simple XML for serialization and deserialization of entities.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages