org.apache.axis.wsdl
Class JavaTestCaseWriter

java.lang.Object
  |
  +--org.apache.axis.wsdl.JavaWriter
        |
        +--org.apache.axis.wsdl.JavaTestCaseWriter
All Implemented Interfaces:
Writer

public class JavaTestCaseWriter
extends JavaWriter

This is Wsdl2java's TestCase writer. It writes the TestCase.java file.


Fields inherited from class org.apache.axis.wsdl.JavaWriter
className, emitter, fileName, message, namespaces, packageName, pw, qname
 
Constructor Summary
protected JavaTestCaseWriter(Emitter emitter, ServiceEntry sEntry, SymbolTable symbolTable)
          Constructor.
 
Method Summary
 void finish()
           
protected  void writeFileBody()
          Write the body of the TestCase file.
protected  void writeFileHeader()
          Write the common header plus the ctors.
 void writeServiceTestCode(java.lang.String portName, javax.wsdl.Binding binding)
           
 
Methods inherited from class org.apache.axis.wsdl.JavaWriter
fileExists, getResponseString, initializeDeploymentDoc, isPrimitiveType, wrapPrimitiveType, write, writeComment
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaTestCaseWriter

protected JavaTestCaseWriter(Emitter emitter,
                             ServiceEntry sEntry,
                             SymbolTable symbolTable)
Constructor.
Method Detail

writeFileHeader

protected void writeFileHeader()
                        throws java.io.IOException
Write the common header plus the ctors.
Overrides:
writeFileHeader in class JavaWriter

writeFileBody

protected void writeFileBody()
                      throws java.io.IOException
Write the body of the TestCase file.
Overrides:
writeFileBody in class JavaWriter

finish

public final void finish()

writeServiceTestCode

public final void writeServiceTestCode(java.lang.String portName,
                                       javax.wsdl.Binding binding)
                                throws java.io.IOException


Copyright © 2001 Apache XML Project. All Rights Reserved.