?? cloud.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 + -