TestCase.java.
Method Summary |
void |
generate()
Write all the service bindnigs: service and testcase. |
protected void |
postSetGenerators()
Set the writer based on the other condition after generate() is called. |
protected void |
setGenerators()
setGenerators
Logic to set the generators that are based on the Service. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serviceIfaceWriter
protected Generator serviceIfaceWriter
- Field serviceIfaceWriter
serviceImplWriter
protected Generator serviceImplWriter
- Field serviceImplWriter
testCaseWriter
protected Generator testCaseWriter
- Field testCaseWriter
PORT_NAME
public static final java.lang.String PORT_NAME
- Field PORT_NAME
- See Also:
- Constant Field Values
emitter
protected Emitter emitter
- Field emitter
service
protected javax.wsdl.Service service
- Field WSDL service
symbolTable
protected SymbolTable symbolTable
- Field symbolTable
JavaServiceWriter
public JavaServiceWriter(Emitter emitter,
javax.wsdl.Service service,
SymbolTable symbolTable)
- Constructor.
- Parameters:
emitter
- service
- symbolTable
-
setGenerators
protected void setGenerators()
- setGenerators
Logic to set the generators that are based on the Service.
This logic was moved from the constructor so extended interfaces
can more effectively use the hooks.
postSetGenerators
protected void postSetGenerators()
- Set the writer based on the other condition after generate() is called.
generate
public void generate()
throws java.io.IOException
- Write all the service bindnigs: service and testcase.
- Specified by:
generate
in interface Generator
- Throws:
java.io.IOException
Copyright ? 2005 Apache Web Services Project. All Rights Reserved.