deleteobject.java

来自「openacs source for CPE wan management」· Java 代码 · 共 43 行

JAVA
43
字号
/* * To change this template, choose Tools | Templates * and open the template in the editor. */package org.openacs.message;import javax.xml.soap.SOAPBodyElement;import javax.xml.soap.SOAPException;import javax.xml.soap.SOAPFactory;import org.openacs.Message;/** * * @author Administrator */public class DeleteObject extends Message {    public DeleteObject () {        name = "DeleteObject";    }    public DeleteObject (String ObjectName, String CommandKey) {        this ();        this.ParameterKey = CommandKey;        this.ObjectName = ObjectName;    }       public String ParameterKey = "";    public String ObjectName = "";    @Override    protected void createBody(SOAPBodyElement body, SOAPFactory spf) throws SOAPException {        body.addChildElement("ObjectName").setValue(ObjectName);        body.addChildElement(PARAMETER_KEY).setValue(ParameterKey);    }    @Override    protected void parseBody(SOAPBodyElement body, SOAPFactory f) throws SOAPException {        throw new UnsupportedOperationException("Not supported yet.");    }}

⌨️ 快捷键说明

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