org.jboss.axis.wsdl.toJava
Class JavaImplWriter

java.lang.Object
  extended byorg.jboss.axis.wsdl.toJava.JavaWriter (src) 
      extended byorg.jboss.axis.wsdl.toJava.JavaClassWriter (src) 
          extended byorg.jboss.axis.wsdl.toJava.JavaImplWriter
All Implemented Interfaces:
Generator (src)

public class JavaImplWriter
extends JavaClassWriter (src)

This is Wsdl2java's implementation template writer. It writes the Impl.java file which contains the Impl class.


Field Summary
protected  BindingEntry (src) bEntry
           
protected  Binding binding
           
protected  SymbolTable (src) symbolTable
           
 
Fields inherited from class org.jboss.axis.wsdl.toJava.JavaClassWriter (src)
className, namespaces, packageName
 
Fields inherited from class org.jboss.axis.wsdl.toJava.JavaWriter (src)
emitter, type
 
Constructor Summary
protected JavaImplWriter(Emitter (src)  emitter, BindingEntry (src)  bEntry, SymbolTable (src)  symbolTable)
          Constructor.
 
Method Summary
protected  java.lang.String getImplementsText()
          Returns the appropriate implements text
protected  void writeFileBody(java.io.PrintWriter pw)
          Write the body of the binding's stub file.
protected  void writeOperation(java.io.PrintWriter pw, Parameters (src)  parms)
          Write the implementation template for the given operation.
 
Methods inherited from class org.jboss.axis.wsdl.toJava.JavaClassWriter (src)
getClassModifiers, getClassName, getClassText, getExtendsText, getFileName, getPackage, registerFile, writeFileFooter, writeFileHeader, writeHeaderComments, writePackage
 
Methods inherited from class org.jboss.axis.wsdl.toJava.JavaWriter (src)
closePrintWriter, generate, getPrintWriter, isFileGenerated, verboseMessage, writeComment
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

binding

protected Binding binding

symbolTable

protected SymbolTable (src)  symbolTable

bEntry

protected BindingEntry (src)  bEntry
Constructor Detail

JavaImplWriter

protected JavaImplWriter(Emitter (src)  emitter,
                         BindingEntry (src)  bEntry,
                         SymbolTable (src)  symbolTable)
Constructor.

Method Detail

writeFileBody

protected void writeFileBody(java.io.PrintWriter pw)
                      throws java.io.IOException
Write the body of the binding's stub file.

Specified by:
writeFileBody in class JavaWriter (src)
Throws:
java.io.IOException

getImplementsText

protected java.lang.String getImplementsText()
Returns the appropriate implements text

Overrides:
getImplementsText in class JavaClassWriter (src)
Returns:
" implements "

writeOperation

protected void writeOperation(java.io.PrintWriter pw,
                              Parameters (src)  parms)
                       throws java.io.IOException
Write the implementation template for the given operation.

Throws:
java.io.IOException