org.apache.axis.wsdl.toJava

Class JavaImplWriter

Implemented Interfaces:
Generator

public class JavaImplWriter
extends JavaClassWriter

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

Field Summary

protected BindingEntry
bEntry
Field bEntry
protected Binding
binding
Field binding
protected SymbolTable
symbolTable
Field symbolTable

Fields inherited from class org.apache.axis.wsdl.toJava.JavaClassWriter

className, namespaces, packageName

Fields inherited from class org.apache.axis.wsdl.toJava.JavaWriter

LINE_LENGTH, emitter, type

Constructor Summary

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

Method Summary

protected String
getImplementsText()
Returns the appropriate implements text
protected void
writeFileBody(PrintWriter pw)
Write the body of the binding's stub file.
protected void
writeOperation(PrintWriter pw, Parameters parms)
Write the implementation template for the given operation.

Methods inherited from class org.apache.axis.wsdl.toJava.JavaClassWriter

getClassModifiers, getClassName, getClassText, getExtendsText, getFileName, getImplementsText, getPackage, registerFile, writeFileFooter, writeFileHeader, writeHeaderComments, writePackage

Methods inherited from class org.apache.axis.wsdl.toJava.JavaWriter

closePrintWriter, generate, getFileName, getJavadocDescriptionPart, getPrintWriter, isFileGenerated, registerFile, verboseMessage, writeComment, writeComment, writeFileBody, writeFileFooter, writeFileHeader

Field Details

bEntry

protected BindingEntry bEntry
Field bEntry


binding

protected Binding binding
Field binding


symbolTable

protected SymbolTable symbolTable
Field symbolTable

Constructor Details

JavaImplWriter

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

Parameters:
emitter -
bEntry -
symbolTable -

Method Details

getImplementsText

protected String getImplementsText()
Returns the appropriate implements text
Overrides:
getImplementsText in interface JavaClassWriter

Returns:
" implements "


writeFileBody

protected void writeFileBody(PrintWriter pw)
            throws IOException
Write the body of the binding's stub file.
Overrides:
writeFileBody in interface JavaWriter

Parameters:
pw -


writeOperation

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

Parameters:
pw -
parms -


Copyright B) 2005 Apache Web Services Project. All Rights Reserved.