| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectorg.apache.axis.wsdl.toJava.JavaWriterorg.apache.axis.wsdl.toJava.JavaClassWriterorg.apache.axis.wsdl.toJava.JavaServiceImplWriterpublic class JavaServiceImplWriterextends JavaClassWriterField Summary |
Fields inherited from class org.apache.axis.wsdl.toJava.JavaClassWriter | |
className, namespaces, packageName | |
Fields inherited from class org.apache.axis.wsdl.toJava.JavaWriter | |
LINE_LENGTH, emitter, type | |
Constructor Summary | |
| |
Method Summary | |
protected String |
|
protected String |
|
protected void |
|
protected void |
|
protected void |
|
protected void |
|
protected void |
|
protected void |
|
protected void |
|
protected void |
|
protected void |
|
protected void |
|
protected void |
|
protected void |
|
Methods inherited from class org.apache.axis.wsdl.toJava.JavaClassWriter | |
getClassModifiers, getClassName, getClassText, getExtendsText, getFileName, getImplementsText, getPackage, registerFile, writeFileFooter, writeFileHeader, writeHeaderComments, writePackage | |
Methods inherited from class org.apache.axis.wsdl.toJava.JavaWriter | |
closePrintWriter, generate, getFileName, getJavadocDescriptionPart, getPrintWriter, isFileGenerated, registerFile, verboseMessage, writeComment, writeComment, writeFileBody, writeFileFooter, writeFileHeader | |
protected JavaServiceImplWriter(Emitter emitter, ServiceEntry sEntry, SymbolTable symbolTable)
Constructor.
- Parameters:
emitter-sEntry-symbolTable-
protected String getExtendsText()
Returns "extends org.apache.axis.client.Service ".
- Overrides:
- getExtendsText in interface JavaClassWriter
- Returns:
protected String getImplementsText()
Returns "implements".
- Overrides:
- getImplementsText in interface JavaClassWriter
- Returns:
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.
- Parameters:
pw-portName-address-p-
protected void writeConstructors(PrintWriter pw)
write Constructors
- Parameters:
pw-
protected void writeFileBody(PrintWriter pw)
throws IOExceptionWrite the body of the service file.
- Overrides:
- writeFileBody in interface JavaWriter
- Parameters:
pw-
protected void writeGetPortClass(PrintWriter pw,
Vector getPortIfaces,
Vector getPortStubClasses,
Vector getPortPortNames,
boolean printGetPortNotice)Write the getPort(Class serviceInterfaceWriter) method.
- Parameters:
pw-getPortIfaces-getPortStubClasses-getPortPortNames-printGetPortNotice-
protected void writeGetPortName(PrintWriter pw,
String bindingType,
String portName)Write the get() method.
- Parameters:
pw-bindingType-portName-
protected void writeGetPortNameURL(PrintWriter pw,
String bindingType,
String portName,
String stubClass,
String wsddServiceName)Write the get(URL) method.
- Parameters:
pw-bindingType-portName-stubClass-wsddServiceName-
protected void writeGetPortQNameClass(PrintWriter pw,
Vector getPortPortNames,
Vector getPortPortXmlNames)Write the getPort(QName portName, Class serviceInterfaceWriter) method.
- Parameters:
pw-getPortPortNames-
protected void writeGetPorts(PrintWriter pw,
String namespaceURI,
Vector portNames)Write the getPorts method.
- Parameters:
pw-portNames-
protected void writeGetServiceName(PrintWriter pw,
QName qname)Write the getServiceName method.
- Parameters:
pw-qname-
protected void writeSetEndpointAddress(PrintWriter pw,
Vector portNames)Write the setEndpointAddress(String portName, String newAddress) and setEndpointAddress(QName portName, String newAddress) methods.
- Parameters:
pw-portNames-
protected void writeSetPortEndpointAddress(PrintWriter pw,
String portName)Write the setEndpointAddress(String) method.
- Parameters:
pw-portName-
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:
pw-wsddServiceName-portName-