FileDocCategorySizeDatePackage
GeneratorFactory.javaAPI DocApache Axis 1.43969Sat Apr 22 18:57:28 BST 2006org.apache.axis.wsdl.gen

GeneratorFactory

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

Fields Summary
Constructors Summary
Methods Summary
public voidgeneratorPass(javax.wsdl.Definition def, org.apache.axis.wsdl.symbolTable.SymbolTable symbolTable)
Allow the Generator extension to make a pass through the symbol table doing any pre-generation logic, like creating the Java names for each object and constructing signature strings.

param
def
param
symbolTable

public org.apache.axis.wsdl.symbolTable.BaseTypeMappinggetBaseTypeMapping()
Method getBaseTypeMapping

return

public GeneratorgetGenerator(javax.wsdl.Message message, org.apache.axis.wsdl.symbolTable.SymbolTable symbolTable)
Get a Generator implementation that will generate bindings for the given Message.

param
message
param
symbolTable
return

public GeneratorgetGenerator(javax.wsdl.PortType portType, org.apache.axis.wsdl.symbolTable.SymbolTable symbolTable)
Get a Generator implementation that will generate bindings for the given PortType.

param
portType
param
symbolTable
return

public GeneratorgetGenerator(javax.wsdl.Binding binding, org.apache.axis.wsdl.symbolTable.SymbolTable symbolTable)
Get a Generator implementation that will generate bindings for the given Binding.

param
binding
param
symbolTable
return

public GeneratorgetGenerator(javax.wsdl.Service service, org.apache.axis.wsdl.symbolTable.SymbolTable symbolTable)
Get a Generator implementation that will generate bindings for the given Service.

param
service
param
symbolTable
return

public GeneratorgetGenerator(org.apache.axis.wsdl.symbolTable.TypeEntry type, org.apache.axis.wsdl.symbolTable.SymbolTable symbolTable)
Get a Generator implementation that will generate bindings for the given Type.

param
type
param
symbolTable
return

public GeneratorgetGenerator(javax.wsdl.Definition definition, org.apache.axis.wsdl.symbolTable.SymbolTable symbolTable)
Get a Generator implementation that will generate anything that doesn't fit into the scope of any of the other Generators.

param
definition
param
symbolTable
return

public voidsetBaseTypeMapping(org.apache.axis.wsdl.symbolTable.BaseTypeMapping btm)
Get TypeMapping to use for translating QNames to base types

param
btm