📄 addobject.java
字号:
/* * 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 AddObject extends Message { public AddObject () { name = "AddObject"; } public AddObject (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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -