public class JavaServiceImplWriter extends JavaClassWriter
className, namespaces, packageName
emitter, LINE_LENGTH, type
Modifier | Constructor and Description |
---|---|
protected |
JavaServiceImplWriter(Emitter emitter,
ServiceEntry sEntry,
SymbolTable symbolTable)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected String |
getExtendsText()
Returns "extends org.apache.axis.client.Service ".
|
protected String |
getImplementsText()
Returns "implements
|
protected void |
writeAddressInfo(PrintWriter pw,
String portName,
String address,
javax.wsdl.Port p)
Write the private address field for this port and the public getter for it.
|
protected void |
writeConstructors(PrintWriter pw)
write Constructors
|
protected void |
writeFileBody(PrintWriter pw)
Write the body of the service file.
|
protected void |
writeGetPortClass(PrintWriter pw,
Vector getPortIfaces,
Vector getPortStubClasses,
Vector getPortPortNames,
boolean printGetPortNotice)
Write the getPort(Class serviceInterfaceWriter) method.
|
protected void |
writeGetPortName(PrintWriter pw,
String bindingType,
String portName)
Write the get
|
protected void |
writeGetPortNameURL(PrintWriter pw,
String bindingType,
String portName,
String stubClass,
String wsddServiceName)
Write the get
|
protected void |
writeGetPortQNameClass(PrintWriter pw,
Vector getPortPortNames,
Vector getPortPortXmlNames)
Write the getPort(QName portName, Class serviceInterfaceWriter) method.
|
protected void |
writeGetPorts(PrintWriter pw,
String namespaceURI,
Vector portNames)
Write the getPorts method.
|
protected void |
writeGetServiceName(PrintWriter pw,
QName qname)
Write the getServiceName method.
|
protected void |
writeSetEndpointAddress(PrintWriter pw,
Vector portNames)
Write the setEndpointAddress(String portName, String newAddress)
and setEndpointAddress(QName portName, String newAddress) methods.
|
protected void |
writeSetPortEndpointAddress(PrintWriter pw,
String portName)
Write the set
|
protected void |
writeWSDDServiceNameInfo(PrintWriter pw,
String wsddServiceName,
String portName,
String portXmlName)
Write the private WSDD service name field and the public accessors for it.
|
getClassModifiers, getClassName, getClassText, getFileName, getPackage, registerFile, writeFileFooter, writeFileHeader, writeHeaderComments, writePackage
closePrintWriter, generate, getJavadocDescriptionPart, getPrintWriter, isFileGenerated, verboseMessage, writeComment, writeComment
protected JavaServiceImplWriter(Emitter emitter, ServiceEntry sEntry, SymbolTable symbolTable)
emitter
- sEntry
- symbolTable
- protected String getExtendsText()
getExtendsText
in class JavaClassWriter
protected String getImplementsText()
getImplementsText
in class JavaClassWriter
protected void writeFileBody(PrintWriter pw) throws IOException
writeFileBody
in class JavaWriter
pw
- IOException
protected void writeConstructors(PrintWriter pw)
pw
- protected void writeAddressInfo(PrintWriter pw, String portName, String address, javax.wsdl.Port p)
pw
- portName
- address
- p
- protected void writeWSDDServiceNameInfo(PrintWriter pw, String wsddServiceName, String portName, String portXmlName)
pw
- wsddServiceName
- portName
- protected void writeGetPortName(PrintWriter pw, String bindingType, String portName)
pw
- bindingType
- portName
- protected void writeGetPortNameURL(PrintWriter pw, String bindingType, String portName, String stubClass, String wsddServiceName)
pw
- bindingType
- portName
- stubClass
- wsddServiceName
- protected void writeSetPortEndpointAddress(PrintWriter pw, String portName)
pw
- portName
- protected void writeGetPortClass(PrintWriter pw, Vector getPortIfaces, Vector getPortStubClasses, Vector getPortPortNames, boolean printGetPortNotice)
pw
- getPortIfaces
- getPortStubClasses
- getPortPortNames
- printGetPortNotice
- protected void writeGetPortQNameClass(PrintWriter pw, Vector getPortPortNames, Vector getPortPortXmlNames)
pw
- getPortPortNames
- protected void writeGetServiceName(PrintWriter pw, QName qname)
pw
- qname
- protected void writeGetPorts(PrintWriter pw, String namespaceURI, Vector portNames)
pw
- portNames
- protected void writeSetEndpointAddress(PrintWriter pw, Vector portNames)
pw
- portNames
- Copyright © The Apache Software Foundation. All Rights Reserved.