axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From muthu...@apache.org
Subject cvs commit: ws-axis/contrib/axismora/src/org/apache/axismora/provider/result DocLiteralResult.java
Date Fri, 21 Nov 2003 05:34:49 GMT
muthulee    2003/11/20 21:34:49

  Added:       contrib/axismora/src/org/apache/axismora/provider/result
                        DocLiteralResult.java
  Log:
  Supporting doc\liteal in axisMora.
  
  Revision  Changes    Path
  1.1                  ws-axis/contrib/axismora/src/org/apache/axismora/provider/result/DocLiteralResult.java
  
  Index: DocLiteralResult.java
  ===================================================================
  
  package org.apache.axismora.provider.result;
  
  import java.io.IOException;
  
  import org.apache.axismora.encoding.OutParameter;
  import org.apache.axismora.encoding.Serializable;
  
  import org.apache.axis.encoding.SerializationContext;
  
  /**
   * @author Dimuthu Leelarathne.
   *
   */
  public class DocLiteralResult implements Serializable {
  	private OutParameter parm;
  	   
  
  	   public DocLiteralResult(OutParameter param) {
  		   this.parm = param;
  		 
  	   }
  	
  	  /**
  		* this method is called by the SOAPHeaderElement when serializing
  		*/
  	   public void serialize(SerializationContext sc) throws IOException {
              if(parm != null){ 		 
                 	   parm.serialize(sc);
  			} else System.out.println("DEBUG - The param is null");
  	   }
  
  }
  
  
  

Mime
View raw message