|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.axis.wsdl.toJava.JavaGeneratorFactory
This is Wsdl2java's implementation of the GeneratorFactory
Nested Class Summary | |
protected class |
JavaGeneratorFactory.Writers
|
Field Summary | |
protected JavaGeneratorFactory.Writers |
bindingWriters
Return Wsdl2java's JavaBindingWriter object. |
static String |
COMPLEX_TYPE_FAULT
|
protected Emitter |
emitter
|
static String |
EXCEPTION_CLASS_NAME
|
static String |
EXCEPTION_DATA_TYPE
|
protected JavaGeneratorFactory.Writers |
serviceWriters
Return Wsdl2java's JavaServiceWriter object. |
protected SymbolTable |
symbolTable
|
Constructor Summary | |
JavaGeneratorFactory()
Default constructor. |
|
JavaGeneratorFactory(Emitter emitter)
|
Method Summary | |
protected void |
addBindingGenerators()
|
protected void |
addDefinitionGenerators()
|
void |
addGenerator(Class wsdlClass,
Class generator)
|
protected void |
addMessageGenerators()
These addXXXGenerators are called by the constructor. |
protected void |
addPortTypeGenerators()
|
protected void |
addServiceGenerators()
|
protected void |
addTypeGenerators()
|
protected void |
constructSignatures(SymbolTable symbolTable)
|
protected void |
determineIfHoldersNeeded(SymbolTable symbolTable)
Find all inout/out parameters and add a flag to the Type of that parameter saying a holder is needed. |
protected void |
determineInterfaceNames(SymbolTable symbolTable)
|
void |
generatorPass(javax.wsdl.Definition def,
SymbolTable symbolTable)
Do the Wsdl2java generator pass: - resolve name clashes - construct signatures |
BaseTypeMapping |
getBaseTypeMapping()
|
Generator |
getGenerator(javax.wsdl.Binding binding,
SymbolTable symbolTable)
Get a Generator implementation that will generate bindings for the given Binding. |
Generator |
getGenerator(javax.wsdl.Definition definition,
SymbolTable symbolTable)
Get a Generator implementation that will generate anything that doesn't fit into the scope of any of the other Generators. |
Generator |
getGenerator(javax.wsdl.Message message,
SymbolTable symbolTable)
Get a Generator implementation that will generate bindings for the given Message. |
Generator |
getGenerator(javax.wsdl.PortType portType,
SymbolTable symbolTable)
Get a Generator implementation that will generate bindings for the given PortType. |
Generator |
getGenerator(javax.wsdl.Service service,
SymbolTable symbolTable)
Get a Generator implementation that will generate bindings for the given Service. |
Generator |
getGenerator(TypeEntry type,
SymbolTable symbolTable)
Get a Generator implementation that will generate bindings for the given Type. |
protected void |
ignoreNonSOAPBindings(SymbolTable symbolTable)
If a binding's type is not TYPE_SOAP, then we don't use that binding or that binding's portType. |
protected void |
javifyNames(SymbolTable symbolTable)
Fill in the names of each SymTabEntry with the javaified name. |
protected void |
resolveNameClashes(SymbolTable symbolTable)
Messages, PortTypes, Bindings, and Services can share the same name. |
protected void |
setAllReferencesToTrue()
The --all flag is set on the command line (or generateAll(true) is called on WSDL2Java). |
void |
setBaseTypeMapping(BaseTypeMapping btm)
Get TypeMapping to use for translating QNames to base types |
void |
setEmitter(Emitter emitter)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected Emitter emitter
protected SymbolTable symbolTable
public static String COMPLEX_TYPE_FAULT
public static String EXCEPTION_CLASS_NAME
public static String EXCEPTION_DATA_TYPE
protected JavaGeneratorFactory.Writers bindingWriters
protected JavaGeneratorFactory.Writers serviceWriters
Constructor Detail |
public JavaGeneratorFactory()
public JavaGeneratorFactory(Emitter emitter)
Method Detail |
public void setEmitter(Emitter emitter)
protected void addMessageGenerators()
protected void addPortTypeGenerators()
protected void addBindingGenerators()
protected void addServiceGenerators()
protected void addTypeGenerators()
protected void addDefinitionGenerators()
public void generatorPass(javax.wsdl.Definition def, SymbolTable symbolTable)
generatorPass
in interface GeneratorFactory
public Generator getGenerator(javax.wsdl.Message message, SymbolTable symbolTable)
GeneratorFactory
getGenerator
in interface GeneratorFactory
public Generator getGenerator(javax.wsdl.PortType portType, SymbolTable symbolTable)
GeneratorFactory
getGenerator
in interface GeneratorFactory
public Generator getGenerator(javax.wsdl.Binding binding, SymbolTable symbolTable)
GeneratorFactory
getGenerator
in interface GeneratorFactory
public Generator getGenerator(javax.wsdl.Service service, SymbolTable symbolTable)
GeneratorFactory
getGenerator
in interface GeneratorFactory
public Generator getGenerator(TypeEntry type, SymbolTable symbolTable)
GeneratorFactory
getGenerator
in interface GeneratorFactory
public Generator getGenerator(javax.wsdl.Definition definition, SymbolTable symbolTable)
GeneratorFactory
getGenerator
in interface GeneratorFactory
public void addGenerator(Class wsdlClass, Class generator)
protected void javifyNames(SymbolTable symbolTable)
protected void determineInterfaceNames(SymbolTable symbolTable)
protected void resolveNameClashes(SymbolTable symbolTable)
protected void setAllReferencesToTrue()
protected void ignoreNonSOAPBindings(SymbolTable symbolTable)
protected void constructSignatures(SymbolTable symbolTable)
protected void determineIfHoldersNeeded(SymbolTable symbolTable)
public void setBaseTypeMapping(BaseTypeMapping btm)
GeneratorFactory
setBaseTypeMapping
in interface GeneratorFactory
public BaseTypeMapping getBaseTypeMapping()
getBaseTypeMapping
in interface GeneratorFactory
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |