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

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


org.apache.axis.wsdl.toJava
Class JavaUndeployWriter

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

public class JavaUndeployWriter
extends JavaWriter

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


Field Summary
protected  javax.wsdl.Definition definition
           
 
Fields inherited from class org.apache.axis.wsdl.toJava.JavaWriter
emitter, type
 
Constructor Summary
JavaUndeployWriter(Emitter emitter, javax.wsdl.Definition definition, SymbolTable notUsed)
          Constructor.
 
Method Summary
 void generate()
          Generate undeploy.wsdd.
protected  String getFileName()
          Return the fully-qualified name of the undeploy.wsdd file to be generated.
protected  PrintWriter getPrintWriter(String filename)
          You should not need to override this method.
protected  void writeFileBody(PrintWriter pw)
          Write the body of the deploy.wsdd file.
protected  void writeFileHeader(PrintWriter pw)
          Replace the default file header with the deployment doc file header.
 
Methods inherited from class org.apache.axis.wsdl.toJava.JavaWriter
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 javax.wsdl.Definition definition
Constructor Detail

JavaUndeployWriter

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

Method Detail

generate

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

Specified by:
generate in interface Generator
Overrides:
generate in class JavaWriter
Throws:
IOException

getFileName

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

Specified by:
getFileName in class JavaWriter

writeFileHeader

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

Overrides:
writeFileHeader in class JavaWriter
Throws:
IOException

writeFileBody

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

Specified by:
writeFileBody in class JavaWriter
Throws:
IOException

getPrintWriter

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

Overrides:
getPrintWriter in class JavaWriter
Throws:
IOException


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