Class JavaImplWriter

  • All Implemented Interfaces:
    Generator

    public class JavaImplWriter
    extends JavaClassWriter
    This is Wsdl2java's implementation template writer. It writes the Impl.java file which contains the Impl class.
    • Field Detail

      • binding

        protected javax.wsdl.Binding binding
        Field binding
      • symbolTable

        protected SymbolTable symbolTable
        Field symbolTable
    • Constructor Detail

      • JavaImplWriter

        protected JavaImplWriter​(Emitter emitter,
                                 BindingEntry bEntry,
                                 SymbolTable symbolTable)
        Constructor.
        Parameters:
        emitter -
        bEntry -
        symbolTable -
    • Method Detail

      • writeFileBody

        protected void writeFileBody​(java.io.PrintWriter pw)
                              throws java.io.IOException
        Write the body of the binding's stub file.
        Specified by:
        writeFileBody in class JavaWriter
        Parameters:
        pw -
        Throws:
        java.io.IOException
      • getImplementsText

        protected java.lang.String getImplementsText()
        Returns the appropriate implements text
        Overrides:
        getImplementsText in class JavaClassWriter
        Returns:
        " implements "
      • writeOperation

        protected void writeOperation​(java.io.PrintWriter pw,
                                      Parameters parms)
                               throws java.io.IOException
        Write the implementation template for the given operation.
        Parameters:
        pw -
        parms -
        Throws:
        java.io.IOException