|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.axis.wsdl.toJava.JavaWriter org.apache.axis.wsdl.toJava.JavaDeployWriter
This is Wsdl2java's deploy Writer. It writes the deploy.wsdd file.
Field Summary | |
protected javax.wsdl.Definition |
definition
|
protected SymbolTable |
symbolTable
|
Fields inherited from class org.apache.axis.wsdl.toJava.JavaWriter |
emitter, type |
Constructor Summary | |
JavaDeployWriter(Emitter emitter,
javax.wsdl.Definition definition,
SymbolTable symbolTable)
Constructor. |
Method Summary | |
void |
generate()
Generate deploy.wsdd. |
protected String |
getFileName()
Return the fully-qualified name of the deploy.wsdd file to be generated. |
String |
getModeString(byte mode)
|
protected PrintWriter |
getPrintWriter(String filename)
You should not need to override this method. |
protected void |
writeDeployBinding(PrintWriter pw,
BindingEntry bEntry)
Write out deployment instructions for given WSDL binding |
protected void |
writeDeployPort(PrintWriter pw,
javax.wsdl.Port port,
javax.wsdl.Service service,
BindingEntry bEntry)
Write out deployment and undeployment instructions for given WSDL port |
protected void |
writeDeployServices(PrintWriter pw)
Write out deployment and undeployment instructions for each WSDL service |
protected void |
writeDeployTypes(PrintWriter pw,
javax.wsdl.Binding binding,
boolean hasLiteral,
boolean hasMIME,
Use use)
Write out bean mappings for each type |
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. |
protected void |
writeOperation(PrintWriter pw,
String javaOperName,
javax.xml.namespace.QName elementQName,
javax.xml.namespace.QName returnQName,
javax.xml.namespace.QName returnType,
Parameters params,
javax.xml.namespace.QName bindingQName,
ArrayList faults)
Raw routine that writes out the operation and parameters. |
protected void |
writeTypeMapping(PrintWriter pw,
String namespaceURI,
String localPart,
String javaType,
String serializerFactory,
String deserializerFactory,
String encodingStyle)
Raw routine that writes out the typeMapping. |
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 |
protected javax.wsdl.Definition definition
protected SymbolTable symbolTable
Constructor Detail |
public JavaDeployWriter(Emitter emitter, javax.wsdl.Definition definition, SymbolTable symbolTable)
Method Detail |
public void generate() throws IOException
generate
in interface Generator
generate
in class JavaWriter
IOException
protected String getFileName()
getFileName
in class JavaWriter
protected void writeFileHeader(PrintWriter pw) throws IOException
writeFileHeader
in class JavaWriter
IOException
protected void writeFileBody(PrintWriter pw) throws IOException
writeFileBody
in class JavaWriter
IOException
protected void writeDeployServices(PrintWriter pw) throws IOException
IOException
protected void writeDeployTypes(PrintWriter pw, javax.wsdl.Binding binding, boolean hasLiteral, boolean hasMIME, Use use) throws IOException
IOException
protected void writeTypeMapping(PrintWriter pw, String namespaceURI, String localPart, String javaType, String serializerFactory, String deserializerFactory, String encodingStyle) throws IOException
IOException
protected void writeDeployPort(PrintWriter pw, javax.wsdl.Port port, javax.wsdl.Service service, BindingEntry bEntry) throws IOException
IOException
protected void writeDeployBinding(PrintWriter pw, BindingEntry bEntry) throws IOException
IOException
protected void writeOperation(PrintWriter pw, String javaOperName, javax.xml.namespace.QName elementQName, javax.xml.namespace.QName returnQName, javax.xml.namespace.QName returnType, Parameters params, javax.xml.namespace.QName bindingQName, ArrayList faults)
public String getModeString(byte mode)
protected PrintWriter getPrintWriter(String filename) throws IOException
JavaWriter
getPrintWriter
in class JavaWriter
IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |