informresponse.java
来自「openacs source for CPE wan management」· Java 代码 · 共 43 行
JAVA
43 行
/*
* InformResponse.java
*
* Created on Penktadienis, 2007, Lapkri鑙o 9, 22.13
*
* To change this template, choose Tools | Template Manager
* and open the template in the editor.
*/
package org.openacs.message;
import org.openacs.Message;
import javax.xml.soap.SOAPBodyElement;
import javax.xml.soap.SOAPException;
import javax.xml.soap.SOAPFactory;
/**
*
* @author Administrator
*/
public class InformResponse extends Message {
/** Creates a new instance of InformResponse */
public InformResponse() {
name = "InformResponse";
}
public InformResponse(String _id, int me) {
name = "InformResponse";
id = _id;
MaxEnvelopes = me;
}
protected void createBody (SOAPBodyElement body, SOAPFactory spf) throws SOAPException
{
body.addChildElement(spf.createName("MaxEnvelopes")).setValue(String.valueOf(MaxEnvelopes));
}
protected void parseBody (SOAPBodyElement body, SOAPFactory spf) throws SOAPException
{
}
public int MaxEnvelopes;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?