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

Generator (JAXRPC API) - JBoss 4.0.1 sp1 jaxrpc API Documentation 英文版文档


org.apache.axis.wsdl.gen
Interface Generator

All Known Implementing Classes:
JavaBindingWriter, JavaDefinitionWriter, JavaGeneratorFactory.Writers, JavaServiceWriter, JavaTypeWriter, JavaWriter, NoopGenerator

public interface Generator

This is the interface for all writers. All writers, very simply, must support a write method.

Writer and WriterFactory are part of the Writer framework. Folks who want to use the emitter to generate stuff from WSDL should do 3 things: 1. Write implementations of the Writer interface, one each for PortType, Binding, Service, and Type. These implementations generate the stuff for each of these WSDL types. 2. Write an implementation of the WriterFactory interface that returns instantiations of these Writer implementations as appropriate. 3. Implement a class with a main method (like Wsdl2java) that instantiates an emitter and passes it the WriterFactory implementation


Method Summary
 void generate()
          Generate something.
 

Method Detail

generate

public void generate()
              throws IOException
Generate something.

Throws:
IOException


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