org.apache.axis.wsdl.toJava
public class JavaServiceImplWriter extends JavaClassWriter
Constructor Summary | |
---|---|
protected | JavaServiceImplWriter(Emitter emitter, ServiceEntry sEntry, SymbolTable symbolTable)
Constructor.
|
Method Summary | |
---|---|
protected String | getExtendsText()
Returns "extends org.apache.axis.client.Service ".
|
protected String | getImplementsText()
Returns "implements |
protected void | writeAddressInfo(PrintWriter pw, String portName, String address, 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.
|
Parameters: emitter sEntry symbolTable
Returns:
Returns:
Parameters: pw portName address p
Parameters: pw
Parameters: pw
Throws: IOException
Parameters: pw getPortIfaces getPortStubClasses getPortPortNames printGetPortNotice
Parameters: pw bindingType portName
Parameters: pw bindingType portName stubClass wsddServiceName
Parameters: pw getPortPortNames
Parameters: pw portNames
Parameters: pw qname
Parameters: pw portNames
Parameters: pw portName
Parameters: pw wsddServiceName portName