Package org.apache.axis.wsdl.toJava
Class JavaUndeployWriter
java.lang.Object
org.apache.axis.wsdl.toJava.JavaWriter
org.apache.axis.wsdl.toJava.JavaUndeployWriter
- All Implemented Interfaces:
Generator
This is Wsdl2java's deploy Writer. It writes the deploy.java file.
-
Field Summary
FieldsFields inherited from class org.apache.axis.wsdl.toJava.JavaWriter
emitter, LINE_LENGTH, type -
Constructor Summary
ConstructorsConstructorDescriptionJavaUndeployWriter(Emitter emitter, javax.wsdl.Definition definition, SymbolTable notUsed) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoidgenerate()Generate undeploy.wsdd.protected StringReturn the fully-qualified name of the undeploy.wsdd file to be generated.protected PrintWritergetPrintWriter(String filename) Method getPrintWriterprotected voidwriteDeployPort(PrintWriter pw, javax.wsdl.Port port) Write out deployment and undeployment instructions for given WSDL portprotected voidWrite out deployment and undeployment instructions for each WSDL serviceprotected voidWrite the body of the deploy.wsdd file.protected voidReplace the default file header with the deployment doc file header.Methods inherited from class org.apache.axis.wsdl.toJava.JavaWriter
closePrintWriter, getJavadocDescriptionPart, isFileGenerated, registerFile, verboseMessage, writeComment, writeComment, writeFileFooter
-
Field Details
-
definition
protected javax.wsdl.Definition definitionField definition
-
-
Constructor Details
-
JavaUndeployWriter
Constructor.- Parameters:
emitter-definition-notUsed-
-
-
Method Details
-
generate
Generate undeploy.wsdd. Only generate it if the emitter is generating server-side mappings.- Specified by:
generatein interfaceGenerator- Overrides:
generatein classJavaWriter- Throws:
IOException
-
getFileName
Return the fully-qualified name of the undeploy.wsdd file to be generated.- Specified by:
getFileNamein classJavaWriter- Returns:
-
writeFileHeader
Replace the default file header with the deployment doc file header.- Overrides:
writeFileHeaderin classJavaWriter- Parameters:
pw-- Throws:
IOException
-
writeFileBody
Write the body of the deploy.wsdd file.- Specified by:
writeFileBodyin classJavaWriter- Parameters:
pw-- Throws:
IOException
-
writeDeployServices
Write out deployment and undeployment instructions for each WSDL service- Parameters:
pw-- Throws:
IOException
-
writeDeployPort
Write out deployment and undeployment instructions for given WSDL port- Parameters:
pw-port-- Throws:
IOException
-
getPrintWriter
Method getPrintWriter- Overrides:
getPrintWriterin classJavaWriter- Parameters:
filename-- Returns:
- Throws:
IOException
-