org.apache.axis.wsdl.toJava
Class JavaInterfaceWriter
- Generator
public class JavaInterfaceWriter
This is Wsdl2java's PortType Writer. It writes the
.java file
which contains the interface.
void | generate() - Override generate method to prevent duplicate interfaces because
of two bindings referencing the same portType
|
protected String | getClassText() - Returns "interface ".
|
protected String | getExtendsText() - Returns "extends java.rmi.Remote ".
|
protected void | writeFileBody(PrintWriter pw) - Write the body of the portType interface file.
|
protected void | writeOperation(PrintWriter pw, Operation operation) - This method generates the interface signatures for the given operation.
|
getClassModifiers , getClassName , getClassText , getExtendsText , getFileName , getImplementsText , getPackage , registerFile , writeFileFooter , writeFileHeader , writeHeaderComments , writePackage |
closePrintWriter , generate , getFileName , getJavadocDescriptionPart , getPrintWriter , isFileGenerated , registerFile , verboseMessage , writeComment , writeComment , writeFileBody , writeFileFooter , writeFileHeader |
portType
protected PortType portType
Field portType
generate
public void generate()
throws IOException
Override generate method to prevent duplicate interfaces because
of two bindings referencing the same portType
- generate in interface Generator
- generate in interface JavaWriter
writeFileBody
protected void writeFileBody(PrintWriter pw)
throws IOException
Write the body of the portType interface file.
- writeFileBody in interface JavaWriter
writeOperation
protected void writeOperation(PrintWriter pw,
Operation operation)
throws IOException
This method generates the interface signatures for the given operation.
Copyright B) 2005 Apache Web Services Project. All Rights Reserved.