org.apache.axis.wsdl.toJava
Class JavaDeployWriter

java.lang.Object
  |
  +--org.apache.axis.wsdl.toJava.JavaWriter
        |
        +--org.apache.axis.wsdl.toJava.JavaDeployWriter
All Implemented Interfaces:
Writer

public class JavaDeployWriter
extends JavaWriter

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


Field Summary
protected  javax.wsdl.Definition definition
           
protected  SymbolTable symbolTable
           
 
Fields inherited from class org.apache.axis.wsdl.toJava.JavaWriter
className, emitter, fileName, message, namespaces, packageName, pw, qname, type
 
Constructor Summary
protected JavaDeployWriter(Emitter emitter, javax.wsdl.Definition definition, SymbolTable symbolTable)
          Constructor.
 
Method Summary
protected  void writeDeployBinding(javax.wsdl.Binding binding)
          Write out deployment instructions for given WSDL binding
protected  void writeDeployPort(javax.wsdl.Port port)
          Write out deployment and undeployment instructions for given WSDL port
protected  void writeDeployServices()
          Write out deployment and undeployment instructions for each WSDL service
protected  void writeDeployTypes(boolean hasLiteral)
          Write out bean mappings for each type
protected  void writeFileBody()
          Write the body of the deploy.xml file.
protected  void writeFileHeader()
          Replace the default file header with the deployment doc file header.
 
Methods inherited from class org.apache.axis.wsdl.toJava.JavaWriter
fileExists, getResponseString, initializeDeploymentDoc, isPrimitiveType, wrapPrimitiveType, write, writeComment
 
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

symbolTable

protected SymbolTable symbolTable
Constructor Detail

JavaDeployWriter

protected JavaDeployWriter(Emitter emitter,
                           javax.wsdl.Definition definition,
                           SymbolTable symbolTable)
Constructor.
Method Detail

writeFileHeader

protected void writeFileHeader()
                        throws java.io.IOException
Replace the default file header with the deployment doc file header.
Overrides:
writeFileHeader in class JavaWriter

writeFileBody

protected void writeFileBody()
                      throws java.io.IOException
Write the body of the deploy.xml file.
Overrides:
writeFileBody in class JavaWriter

writeDeployServices

protected void writeDeployServices()
                            throws java.io.IOException
Write out deployment and undeployment instructions for each WSDL service

writeDeployTypes

protected void writeDeployTypes(boolean hasLiteral)
                         throws java.io.IOException
Write out bean mappings for each type

writeDeployPort

protected void writeDeployPort(javax.wsdl.Port port)
                        throws java.io.IOException
Write out deployment and undeployment instructions for given WSDL port

writeDeployBinding

protected void writeDeployBinding(javax.wsdl.Binding binding)
                           throws java.io.IOException
Write out deployment instructions for given WSDL binding


Copyright © 2001 Apache XML Project. All Rights Reserved.