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

📄 getparameterattributes.java

📁 openacs source for CPE wan management
💻 JAVA
字号:
/*
 * GetParameterAttributes.java
 *
 * Created on Pirmadienis, 2007, Lapkri鑙o 19, 14.00
 *
 * 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.SOAPElement;
import javax.xml.soap.SOAPException;
import javax.xml.soap.SOAPFactory;

/**
 *
 * @author Administrator
 */
public class GetParameterAttributes extends Message {
    
    /** Creates a new instance of GetParameterAttributes */
    public GetParameterAttributes() {
        name = "GetParameterAttributes";
    }
    protected void createBody (SOAPBodyElement body, SOAPFactory spf) throws SOAPException
    {
        SOAPElement elm = body.addChildElement(spf.createName("ParameterNames"));
        elm.setAttribute("soap-enc:arrayType", "xsd:string["+String.valueOf(parameterNames.length)+"]" );
        for (int i = 0; i < parameterNames.length; i++) {
            elm.addChildElement("string").setValue(parameterNames[i]);
        }
    }

    protected void parseBody (SOAPBodyElement body, SOAPFactory f) throws SOAPException
    {
    }

    public String parameterNames[];
    
}

⌨️ 快捷键说明

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