站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 3.2.7 jaxrpc API Documentation 英文版文档

JavaTestCaseWriter (JAXRPC API) - JBoss 3.2.7 jaxrpc API Documentation 英文版文档


org.apache.axis.wsdl.toJava
Class JavaTestCaseWriter

java.lang.Object
  extended byorg.apache.axis.wsdl.toJava.JavaWriter
      extended byorg.apache.axis.wsdl.toJava.JavaClassWriter
          extended byorg.apache.axis.wsdl.toJava.JavaTestCaseWriter
All Implemented Interfaces:
Generator

public class JavaTestCaseWriter
extends JavaClassWriter

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


Field Summary
 
Fields inherited from class org.apache.axis.wsdl.toJava.JavaClassWriter
className, namespaces, packageName
 
Fields inherited from class org.apache.axis.wsdl.toJava.JavaWriter
emitter, type
 
Constructor Summary
protected JavaTestCaseWriter(Emitter emitter, ServiceEntry sEntry, SymbolTable symbolTable)
          Constructor.
 
Method Summary
protected  String getExtendsText()
          Returns "extends junit.framework.TestCase ".
 void writeBindingAssignment(PrintWriter pw, String bindingType, String portName)
           
protected  void writeFileBody(PrintWriter pw)
          Write the body of the TestCase file.
 
Methods inherited from class org.apache.axis.wsdl.toJava.JavaClassWriter
getClassModifiers, getClassName, getClassText, getFileName, getImplementsText, getPackage, registerFile, writeFileFooter, writeFileHeader, writeHeaderComments, writePackage
 
Methods inherited from class org.apache.axis.wsdl.toJava.JavaWriter
closePrintWriter, generate, getPrintWriter, isFileGenerated, verboseMessage, 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

getExtendsText

protected String getExtendsText()
Returns "extends junit.framework.TestCase ".

Overrides:
getExtendsText in class JavaClassWriter
Returns:
""

writeFileBody

protected void writeFileBody(PrintWriter pw)
                      throws IOException
Write the body of the TestCase file.

Specified by:
writeFileBody in class JavaWriter
Throws:
IOException

writeBindingAssignment

public final void writeBindingAssignment(PrintWriter pw,
                                         String bindingType,
                                         String portName)
                                  throws IOException
Throws:
IOException


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.