All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.vikingbrain.nmt.controller.DavidBoxParser Maven / Gradle / Ivy

Go to download

A Java HTTP client for consuming TheDavidBox Service API of Networked Media Tank devices

There is a newer version: 1.2.1
Show newest version
package com.vikingbrain.nmt.controller;

import com.vikingbrain.nmt.responses.DavidBoxResponse;
import com.vikingbrain.nmt.util.exceptions.TheDavidBoxClientException;

/**
 * Response parser for TheDavidBox xml responses.
 * @author vikingBrain
 *
 */
public interface DavidBoxParser {

	/**
	 * It parses the xml string into a Davidbox response object desired.
	 * @param responseTargetClass the target object to fit the xml
	 * @param xmlString the xml string to parse
	 * @return the davidbox response object
	 * @throws TheDavidBoxClientException exception in the client
	 */
	 T parse(Class responseTargetClass, String xmlString) throws TheDavidBoxClientException;
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy