getparameternames.java
来自「openacs source for CPE wan management」· Java 代码 · 共 47 行
JAVA
47 行
/*
* GetParameterNames.java
*
* Created on 衑餿adienis, 2007, Lapkri鑙o 10, 20.02
*
* 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 GetParameterNames extends Message {
/** Creates a new instance of GetParameterNames */
public GetParameterNames() {
name = "GetParameterNames";
parameterPath = ".";
nextLevel = false;
}
public GetParameterNames(String parameterPath, boolean nextLevel) {
this ();
this.parameterPath = parameterPath;
this.nextLevel = nextLevel;
}
protected void createBody (SOAPBodyElement body, SOAPFactory spf) throws SOAPException
{
body.addChildElement(spf.createName("ParameterPath")).setValue(parameterPath);
body.addChildElement(spf.createName("NextLevel")).setValue(nextLevel ? "1" : "0");
}
protected void parseBody (SOAPBodyElement body, SOAPFactory f) throws SOAPException
{
}
public String parameterPath;
public boolean nextLevel;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?