public class JavaUndeployWriter extends JavaWriter
Modifier and Type | Field and Description |
---|---|
protected javax.wsdl.Definition |
definition
Field definition
|
emitter, LINE_LENGTH, type
Constructor and Description |
---|
JavaUndeployWriter(Emitter emitter,
javax.wsdl.Definition definition,
SymbolTable notUsed)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
generate()
Generate undeploy.wsdd.
|
protected String |
getFileName()
Return the fully-qualified name of the undeploy.wsdd file
to be generated.
|
protected PrintWriter |
getPrintWriter(String filename)
Method getPrintWriter
|
protected void |
writeDeployPort(PrintWriter pw,
javax.wsdl.Port port)
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 |
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.
|
closePrintWriter, getJavadocDescriptionPart, isFileGenerated, registerFile, verboseMessage, writeComment, writeComment, writeFileFooter
public JavaUndeployWriter(Emitter emitter, javax.wsdl.Definition definition, SymbolTable notUsed)
emitter
- definition
- notUsed
- 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
pw
- IOException
protected void writeFileBody(PrintWriter pw) throws IOException
writeFileBody
in class JavaWriter
pw
- IOException
protected void writeDeployServices(PrintWriter pw) throws IOException
pw
- IOException
protected void writeDeployPort(PrintWriter pw, javax.wsdl.Port port) throws IOException
pw
- port
- IOException
protected PrintWriter getPrintWriter(String filename) throws IOException
getPrintWriter
in class JavaWriter
filename
- IOException
Copyright © The Apache Software Foundation. All Rights Reserved.