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

com.aliyun.api.AliyunParser Maven / Gradle / Ivy

The newest version!
package com.aliyun.api;

import com.taobao.api.ApiException;


/**
 * aliyun sdk 解释器接口。响应格式可以是JSON, XML等等。
 * 
 * @author lijie.ma
 * @since 1.0, May 19, 2014
 */
public interface AliyunParser {

	/**
	 * 把响应字符串解释成相应的领域对象。
	 * 
	 * @param rsp 响应字符串
	 * @return 领域对象
	 */
	public T parse(String rsp) throws ApiException;

	/**
	 * 获取响应类类型。
	 */
	public Class getResponseClass() throws ApiException;

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy