axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From blorit...@apache.org
Subject cvs commit: xml-axis/java/src/org/apache/axis/wsdl Emitter.java
Date Tue, 09 Oct 2001 13:30:55 GMT
bloritsch    01/10/09 06:30:55

  Modified:    java/src/org/apache/axis/wsdl Emitter.java
  Log:
  Add initial methods to retrieve a list of filenames or classnames.
  Used in automated test environments.
  
  Revision  Changes    Path
  1.39      +19 -11    xml-axis/java/src/org/apache/axis/wsdl/Emitter.java
  
  Index: Emitter.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/wsdl/Emitter.java,v
  retrieving revision 1.38
  retrieving revision 1.39
  diff -u -r1.38 -r1.39
  --- Emitter.java	2001/10/05 21:57:34	1.38
  +++ Emitter.java	2001/10/09 13:30:55	1.39
  @@ -84,16 +84,8 @@
   import java.io.IOException;
   import java.io.PrintWriter;
   import java.net.MalformedURLException;
  -import java.net.URL;
  -import java.util.Collection;
  -import java.util.HashMap;
  -import java.util.HashSet;
  -import java.util.Iterator;
  -import java.util.List;
  -import java.util.ListIterator;
  -import java.util.Map;
  -import java.util.StringTokenizer;
  -import java.util.Vector;
  +import java.net.URL;
  +import java.util.*;
   
   /**
    * This class produces java files for stubs, skeletons, and types from a
  @@ -123,7 +115,9 @@
       String packageName = null;
       String packageDirName = "";
       String outputDir = null;
  -    byte scope = NO_EXPLICIT_SCOPE;
  +    byte scope = NO_EXPLICIT_SCOPE;
  +    private ArrayList classList = new ArrayList();
  +    private ArrayList fileList = new ArrayList();
   
       private TypeFactory emitFactory = null;
       private HashMap portTypesInfo = null;
  @@ -352,6 +346,20 @@
       //
       // Implementation
       //
  +
  +    /**
  +     * This method returns a list of all generated class names.
  +     */
  +    public List getGeneratedClassNames() {
  +        return this.classList;
  +    }
  +
  +    /**
  +     * This method returns a list of all generated file names.
  +     */
  +    public List getGeneratedFileNames() {
  +        return this.fileList;
  +    }
   
       /**
        * This method returns a set of all the Types in a given PortType.
  
  
  

Mime
View raw message