org.jboss.axis.wsdl.toJava
Class JavaUndeployWriter

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

public class JavaUndeployWriter
extends JavaWriter (src)

This is Wsdl2java's deploy Writer. It writes the deploy.java file.


Field Summary
protected  Definition definition
           
 
Fields inherited from class org.jboss.axis.wsdl.toJava.JavaWriter (src)
emitter, type
 
Constructor Summary
JavaUndeployWriter(Emitter (src)  emitter, Definition definition, SymbolTable (src)  notUsed)
          Constructor.
 
Method Summary
 void generate()
          Generate undeploy.wsdd.
protected  java.lang.String getFileName()
          Return the fully-qualified name of the undeploy.wsdd file to be generated.
protected  java.io.PrintWriter getPrintWriter(java.lang.String filename)
          You should not need to override this method.
protected  void writeFileBody(java.io.PrintWriter pw)
          Write the body of the deploy.wsdd file.
protected  void writeFileHeader(java.io.PrintWriter pw)
          Replace the default file header with the deployment doc file header.
 
Methods inherited from class org.jboss.axis.wsdl.toJava.JavaWriter (src)
closePrintWriter, isFileGenerated, registerFile, verboseMessage, writeComment, writeFileFooter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

definition

protected Definition definition
Constructor Detail

JavaUndeployWriter

public JavaUndeployWriter(Emitter (src)  emitter,
                          Definition definition,
                          SymbolTable (src)  notUsed)
Constructor.

Method Detail

generate

public void generate()
              throws java.io.IOException
Generate undeploy.wsdd. Only generate it if the emitter is generating server-side mappings.

Specified by:
generate in interface Generator (src)
Overrides:
generate in class JavaWriter (src)
Throws:
java.io.IOException

getFileName

protected java.lang.String getFileName()
Return the fully-qualified name of the undeploy.wsdd file to be generated.

Specified by:
getFileName in class JavaWriter (src)

writeFileHeader

protected void writeFileHeader(java.io.PrintWriter pw)
                        throws java.io.IOException
Replace the default file header with the deployment doc file header.

Overrides:
writeFileHeader in class JavaWriter (src)
Throws:
java.io.IOException

writeFileBody

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

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

getPrintWriter

protected java.io.PrintWriter getPrintWriter(java.lang.String filename)
                                      throws java.io.IOException
Description copied from class: JavaWriter (src)
You should not need to override this method. Given the file name, it creates a PrintWriter for it.

Overrides:
getPrintWriter in class JavaWriter (src)
Throws:
java.io.IOException