org.apache.axis.wsdl.toJava
public class JavaDeployWriter extends JavaWriter
| Field Summary | |
|---|---|
| protected Definition | definition Field definition |
| protected Emitter | emitter Field emitter |
| protected static Log | log Field log |
| protected SymbolTable | symbolTable Field symbolTable |
| Constructor Summary | |
|---|---|
| JavaDeployWriter(Emitter emitter, 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)
Method getModeString
|
| protected PrintWriter | getPrintWriter(String filename)
Method getPrintWriter
|
| protected void | writeArrayTypeMapping(PrintWriter pw, String namespaceURI, String localPart, String javaType, String encodingStyle, QName innerType)
Raw routine that writes out the typeMapping.
|
| protected void | writeDeployBinding(PrintWriter pw, BindingEntry bEntry)
Write out deployment instructions for given WSDL binding
|
| protected void | writeDeployPort(PrintWriter pw, Port port, 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, 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, QName elementQName, QName returnQName, QName returnType, Parameters params, QName bindingQName, ArrayList faults, String SOAPAction)
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.
|
Parameters: emitter definition symbolTable
Throws: IOException
Returns:
Parameters: mode
Returns:
Parameters: filename
Returns:
Throws: IOException
Parameters: pw namespaceURI localPart javaType serializerFactory deserializerFactory encodingStyle
Throws: IOException
Parameters: pw bEntry
Throws: IOException
Parameters: pw port service bEntry
Throws: IOException
Parameters: pw
Throws: IOException
Parameters: pw binding hasLiteral hasMIME use
Throws: IOException
Parameters: pw
Throws: IOException
Parameters: pw
Throws: IOException
Parameters: pw javaOperName elementQName returnQName returnType params bindingQName faults
Parameters: pw namespaceURI localPart javaType serializerFactory deserializerFactory encodingStyle
Throws: IOException