⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cloud.java

📁 JAVA实现的RSS订阅功能,提供一个RSS DEMO
💻 JAVA
字号:
package cn.pfc.ywt.writer;

/**
 * <p>
 * Name: Cloud.java
 * 
 * <p>
 * Title: 可以支持rssCloud接口的web服务,
 * 
 * <p>
 * Description: rssCloud接口可以用HTTP-POST,XML-RPC或SOAP1.1实现。<br>
 * 它的目的是允许通知注册为cloud的进程频道被更新,从而实现一个轻量级的发布订阅协议。
 * 
 * <p>
 * Copyright: Copyright (c) 2007
 * 
 * <p>
 * Company: 北大方正软件技术学院实训基地
 * 
 * <p>
 * Modified: 2007年12月22日
 * 
 * @author 杨文通
 * @version 1.0
 */
public class Cloud extends RssElement {
	// 域
	private String domain;

	// 路径
	private String path;

	// 调用的过程
	private String registerProcedure;

	// 端口
	private int port;

	// 协议
	private String protocol;

	public String getDomain() {
		return domain;
	}

	public void setDomain(String domain) {
		this.domain = domain;
	}

	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	public int getPort() {
		return port;
	}

	public void setPort(int port) {
		this.port = port;
	}

	public String getProtocol() {
		return protocol;
	}

	public void setProtocol(String protocol) {
		this.protocol = protocol;
	}

	public String getRegisterProcedure() {
		return registerProcedure;
	}

	public void setRegisterProcedure(String registerProcedure) {
		this.registerProcedure = registerProcedure;
	}

	public Cloud(String domain, String path, String registerProcedure,
			int port, String protocol) {
		super();
		this.domain = domain;
		this.path = path;
		this.registerProcedure = registerProcedure;
		this.port = port;
		this.protocol = protocol;
	}

	public Cloud() {
		super();
	}

	@Override
	public String toString() {
		return "<cloud domain=\"" + strNotNull(this.domain) + "\" port=\""
				+ this.port + "\" path=\"" + this.path
				+ "\" registerProcedure= \""
				+ strNotNull(this.registerProcedure) + "\" protocol=\""
				+ strNotNull(this.protocol) + "\" />";
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -