|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | 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
Field definition |
protected SymbolTable |
symbolTable
Field 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 java.lang.String |
getFileName()
Return the fully-qualified name of the deploy.wsdd file to be generated. |
java.lang.String |
getModeString(byte mode)
Method getModeString |
protected java.io.PrintWriter |
getPrintWriter(java.lang.String filename)
Method getPrintWriter |
protected void |
writeDeployBinding(java.io.PrintWriter pw,
BindingEntry bEntry)
Write out deployment instructions for given WSDL binding |
protected void |
writeDeployPort(java.io.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(java.io.PrintWriter pw)
Write out deployment and undeployment instructions for each WSDL service |
protected void |
writeDeployTypes(java.io.PrintWriter pw,
javax.wsdl.Binding binding,
boolean hasLiteral,
boolean hasMIME,
Use use)
Write out bean mappings for each type |
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. |
protected void |
writeOperation(java.io.PrintWriter pw,
java.lang.String javaOperName,
QName elementQName,
QName returnQName,
QName returnType,
Parameters params,
QName bindingQName,
java.util.ArrayList faults)
Raw routine that writes out the operation and parameters. |
protected void |
writeTypeMapping(java.io.PrintWriter pw,
java.lang.String namespaceURI,
java.lang.String localPart,
java.lang.String javaType,
java.lang.String serializerFactory,
java.lang.String deserializerFactory,
java.lang.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)
emitter
- definition
- symbolTable
- Method Detail |
public void generate() throws java.io.IOException
generate
in class JavaWriter
java.io.IOException
- protected java.lang.String getFileName()
getFileName
in class JavaWriter
protected void writeFileHeader(java.io.PrintWriter pw) throws java.io.IOException
writeFileHeader
in class JavaWriter
pw
- java.io.IOException
- protected void writeFileBody(java.io.PrintWriter pw) throws java.io.IOException
writeFileBody
in class JavaWriter
pw
- java.io.IOException
- protected void writeDeployServices(java.io.PrintWriter pw) throws java.io.IOException
pw
- java.io.IOException
- protected void writeDeployTypes(java.io.PrintWriter pw, javax.wsdl.Binding binding, boolean hasLiteral, boolean hasMIME, Use use) throws java.io.IOException
pw
- binding
- hasLiteral
- hasMIME
- use
- java.io.IOException
- protected void writeTypeMapping(java.io.PrintWriter pw, java.lang.String namespaceURI, java.lang.String localPart, java.lang.String javaType, java.lang.String serializerFactory, java.lang.String deserializerFactory, java.lang.String encodingStyle) throws java.io.IOException
pw
- namespaceURI
- localPart
- javaType
- serializerFactory
- deserializerFactory
- encodingStyle
- java.io.IOException
- protected void writeDeployPort(java.io.PrintWriter pw, javax.wsdl.Port port, javax.wsdl.Service service, BindingEntry bEntry) throws java.io.IOException
pw
- port
- service
- bEntry
- java.io.IOException
- protected void writeDeployBinding(java.io.PrintWriter pw, BindingEntry bEntry) throws java.io.IOException
pw
- bEntry
- java.io.IOException
- protected void writeOperation(java.io.PrintWriter pw, java.lang.String javaOperName, QName elementQName, QName returnQName, QName returnType, Parameters params, QName bindingQName, java.util.ArrayList faults)
pw
- javaOperName
- elementQName
- returnQName
- returnType
- params
- bindingQName
- faults
- public java.lang.String getModeString(byte mode)
mode
- protected java.io.PrintWriter getPrintWriter(java.lang.String filename) throws java.io.IOException
getPrintWriter
in class JavaWriter
filename
- java.io.IOException
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |