esendex.sdk.java.parser.XmlParserFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of org.everit.osgi.bundles.com.esendex.javasdk Show documentation
Show all versions of org.everit.osgi.bundles.com.esendex.javasdk Show documentation
The Esendex Java SDK is an easy to use client for our REST API that you can use to integrate SMS and Voice messaging into your Java application.
The newest version!
package esendex.sdk.java.parser;
import esendex.sdk.java.parser.xstream.XStreamParser;
/**
* Factory for creating and obtaining XmlParsers.
* The instances are cached.
* @author Mike Whittaker
*/
public class XmlParserFactory {
private static final XmlParser parser = new XStreamParser();
/**
* Creates an XmlParser
* @return the XmlParser
*/
public static XmlParser getInstance() {
return parser;
}
}