uploadresponse.java

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

JAVA
48
字号
/*
 * GetParameterValues.java
 *
 * Created on 衑餿adienis, 2007, Lapkri鑙o 10, 20.05
 *
 * 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 UploadResponse extends Message {
    
    /** Creates a new instance of GetParameterValues */
    public UploadResponse() {
        name = "UploadResponse";
    }
    protected void createBody (SOAPBodyElement body, SOAPFactory spf) throws SOAPException
    {
 }

    protected void parseBody (SOAPBodyElement body, SOAPFactory spf) throws SOAPException
    {
        StartTime = getRequestElement (spf, body, "StartTime");
        CompleteTime = getRequestElement (spf, body, "CompleteTime");
        Status = Integer.parseInt(getRequestElement (spf, body, "Status"));
    }
    @Override
    public String toString () {
        String s = name+": StartTime="+StartTime+" CompleteTIme="+CompleteTime+" Status="+Status;
        return s;
               
    }
    
     public String StartTime;
     public String CompleteTime;
     public int Status;
}

⌨️ 快捷键说明

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