站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 3.2.7 jaxrpc API Documentation 英文版文档

JavaBindingWriter (JAXRPC API) - JBoss 3.2.7 jaxrpc API Documentation 英文版文档


org.apache.axis.wsdl.toJava
Class JavaBindingWriter

java.lang.Object
  extended byorg.apache.axis.wsdl.toJava.JavaBindingWriter
All Implemented Interfaces:
Generator

public class JavaBindingWriter
extends Object
implements Generator

This is Wsdl2java's Binding Writer. It writes the following files, as appropriate: Stub.java, Skeleton.java, Impl.java.


Field Summary
protected  javax.wsdl.Binding binding
           
protected  Emitter emitter
           
protected  Generator implWriter
           
static String INTERFACE_NAME
           
protected  Generator interfaceWriter
           
protected  Generator skelWriter
           
protected  Generator stubWriter
           
protected  SymbolTable symbolTable
           
 
Constructor Summary
JavaBindingWriter(Emitter emitter, javax.wsdl.Binding binding, SymbolTable symbolTable)
          Constructor.
 
Method Summary
 void generate()
          Write all the binding bindings: stub, skeleton, and impl.
protected  Generator getJavaImplWriter(Emitter emitter, BindingEntry bEntry, SymbolTable st)
          getJavaImplWriter
protected  Generator getJavaInterfaceWriter(Emitter emitter, PortTypeEntry ptEntry, BindingEntry bEntry, SymbolTable st)
          getJavaInterfaceWriter
protected  Generator getJavaSkelWriter(Emitter emitter, BindingEntry bEntry, SymbolTable st)
          getJavaSkelWriter
protected  Generator getJavaStubWriter(Emitter emitter, BindingEntry bEntry, SymbolTable st)
          getJavaStubWriter
protected  void setGenerators()
          setGenerators Logic to set the generators that are based on the Binding This logic was moved from the constructor so extended interfaces can more effectively use the hooks.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

stubWriter

protected Generator stubWriter

skelWriter

protected Generator skelWriter

implWriter

protected Generator implWriter

interfaceWriter

protected Generator interfaceWriter

emitter

protected Emitter emitter

binding

protected javax.wsdl.Binding binding

symbolTable

protected SymbolTable symbolTable

INTERFACE_NAME

public static String INTERFACE_NAME
Constructor Detail

JavaBindingWriter

public JavaBindingWriter(Emitter emitter,
                         javax.wsdl.Binding binding,
                         SymbolTable symbolTable)
Constructor.

Method Detail

getJavaInterfaceWriter

protected Generator getJavaInterfaceWriter(Emitter emitter,
                                           PortTypeEntry ptEntry,
                                           BindingEntry bEntry,
                                           SymbolTable st)
getJavaInterfaceWriter


getJavaStubWriter

protected Generator getJavaStubWriter(Emitter emitter,
                                      BindingEntry bEntry,
                                      SymbolTable st)
getJavaStubWriter


getJavaSkelWriter

protected Generator getJavaSkelWriter(Emitter emitter,
                                      BindingEntry bEntry,
                                      SymbolTable st)
getJavaSkelWriter


getJavaImplWriter

protected Generator getJavaImplWriter(Emitter emitter,
                                      BindingEntry bEntry,
                                      SymbolTable st)
getJavaImplWriter


generate

public void generate()
              throws IOException
Write all the binding bindings: stub, skeleton, and impl.

Specified by:
generate in interface Generator
Throws:
IOException

setGenerators

protected void setGenerators()
setGenerators Logic to set the generators that are based on the Binding This logic was moved from the constructor so extended interfaces can more effectively use the hooks.



Copyright © 2002 JBoss Group, LLC. All Rights Reserved.