org.apache.axis.message.addressing.tools.wsdl
Class JavaAddressingServiceImplWriter

java.lang.Object
  extended by org.apache.axis.wsdl.toJava.JavaWriter
      extended by org.apache.axis.wsdl.toJava.JavaClassWriter
          extended by org.apache.axis.message.addressing.tools.wsdl.JavaClassWithImportsWriter
              extended by org.apache.axis.message.addressing.tools.wsdl.JavaAddressingServiceImplWriter
All Implemented Interfaces:
org.apache.axis.wsdl.gen.Generator

public class JavaAddressingServiceImplWriter
extends JavaClassWithImportsWriter

Version:
$Revision: 14 $
Author:
Jarek Gawor, Rodrigo Ruiz

Field Summary
 
Fields inherited from class org.apache.axis.message.addressing.tools.wsdl.JavaClassWithImportsWriter
sEntry, symbolTable
 
Fields inherited from class org.apache.axis.wsdl.toJava.JavaClassWriter
className, namespaces, packageName
 
Fields inherited from class org.apache.axis.wsdl.toJava.JavaWriter
emitter, LINE_LENGTH, type
 
Constructor Summary
protected JavaAddressingServiceImplWriter(org.apache.axis.wsdl.toJava.Emitter emitter, org.apache.axis.wsdl.symbolTable.ServiceEntry sEntry, org.apache.axis.wsdl.symbolTable.SymbolTable symbolTable)
          Creates an instance.
 
Method Summary
protected  java.lang.String getExtendsText()
          
protected  java.lang.String getImplementsText()
          
protected  void initImports()
          Populates the imports map.
protected  void writeClassComment(java.io.PrintWriter pw)
          Generates the generated class javadoc comment.
protected  void writeConstructors(java.io.PrintWriter pw)
          Writes the constructors of the generated class.
protected  void writeFileBody(java.io.PrintWriter pw)
          Write the body of the service file.
 
Methods inherited from class org.apache.axis.message.addressing.tools.wsdl.JavaClassWithImportsWriter
addImport, generate, getBindingType, resolve, writeFileHeader, writeHeaderComments, writeImports
 
Methods inherited from class org.apache.axis.wsdl.toJava.JavaClassWriter
getClassModifiers, getClassName, getClassText, getFileName, getPackage, registerFile, writeFileFooter, writePackage
 
Methods inherited from class org.apache.axis.wsdl.toJava.JavaWriter
closePrintWriter, getJavadocDescriptionPart, getPrintWriter, isFileGenerated, verboseMessage, writeComment, writeComment
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaAddressingServiceImplWriter

protected JavaAddressingServiceImplWriter(org.apache.axis.wsdl.toJava.Emitter emitter,
                                          org.apache.axis.wsdl.symbolTable.ServiceEntry sEntry,
                                          org.apache.axis.wsdl.symbolTable.SymbolTable symbolTable)
Creates an instance.

Parameters:
emitter - Emitter
sEntry - Service
symbolTable - Symbol table
Method Detail

initImports

protected void initImports()
Populates the imports map.

Overrides:
initImports in class JavaClassWithImportsWriter

getExtendsText

protected java.lang.String getExtendsText()

Overrides:
getExtendsText in class org.apache.axis.wsdl.toJava.JavaClassWriter

getImplementsText

protected java.lang.String getImplementsText()

Overrides:
getImplementsText in class org.apache.axis.wsdl.toJava.JavaClassWriter

writeFileBody

protected void writeFileBody(java.io.PrintWriter pw)
                      throws java.io.IOException
Write the body of the service file.

Specified by:
writeFileBody in class org.apache.axis.wsdl.toJava.JavaWriter
Parameters:
pw - Writer to print to
Throws:
java.io.IOException - If an error occurs

writeConstructors

protected void writeConstructors(java.io.PrintWriter pw)
                          throws java.io.IOException
Writes the constructors of the generated class.

Parameters:
pw - Writer to print to
Throws:
java.io.IOException - If an error occurs

writeClassComment

protected void writeClassComment(java.io.PrintWriter pw)
                          throws java.io.IOException
Generates the generated class javadoc comment.

Specified by:
writeClassComment in class JavaClassWithImportsWriter
Parameters:
pw - Writer to print to
Throws:
java.io.IOException - If an error occurs


Copyright © 2008-2009 Rodrigo Ruiz. All Rights Reserved.