org.apache.axis.wsdl.toJava
Class JavaInterfaceWriter

java.lang.Object
  |
  +--org.apache.axis.wsdl.toJava.JavaWriter
        |
        +--org.apache.axis.wsdl.toJava.JavaInterfaceWriter
All Implemented Interfaces:
Writer

public class JavaInterfaceWriter
extends JavaWriter

This is Wsdl2java's PortType Writer. It writes the .java file which contains the interface.


Fields inherited from class org.apache.axis.wsdl.toJava.JavaWriter
className, emitter, fileName, message, namespaces, packageName, pw, qname, type
 
Constructor Summary
protected JavaInterfaceWriter(Emitter emitter, PortTypeEntry ptEntry, BindingEntry bEntry, SymbolTable symbolTable)
          Constructor.
 
Method Summary
 void write()
          Override write method to prevent duplicate interfaces because of two bindings referencing the same portType
protected  void writeFileBody()
          Write the body of the portType interface file.
 
Methods inherited from class org.apache.axis.wsdl.toJava.JavaWriter
fileExists, getResponseString, initializeDeploymentDoc, isPrimitiveType, wrapPrimitiveType, writeComment, writeFileHeader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaInterfaceWriter

protected JavaInterfaceWriter(Emitter emitter,
                              PortTypeEntry ptEntry,
                              BindingEntry bEntry,
                              SymbolTable symbolTable)
Constructor.
Method Detail

write

public void write()
           throws java.io.IOException
Override write method to prevent duplicate interfaces because of two bindings referencing the same portType
Overrides:
write in class JavaWriter

writeFileBody

protected void writeFileBody()
                      throws java.io.IOException
Write the body of the portType interface file.
Overrides:
writeFileBody in class JavaWriter


Copyright © 2001 Apache XML Project. All Rights Reserved.