public class JavaStubWriter extends JavaClassWriter
Modifier and Type | Field and Description |
---|---|
protected static org.apache.commons.logging.Log |
log
Field log
|
className, namespaces, packageName
emitter, LINE_LENGTH, type
Constructor and Description |
---|
JavaStubWriter(Emitter emitter,
BindingEntry bEntry,
SymbolTable symbolTable)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected String |
getExtendsText()
Returns "extends org.apache.axis.client.Stub ".
|
protected String |
getImplementsText()
Returns "implements
|
protected void |
writeBindingMethods(PrintWriter pw,
List deferredBindings)
for each of the TypeEntry objects in the deferredBindings list, we need
to write code that will associate a class with a schema namespace/name.
|
protected void |
writeFaultInfo(PrintWriter pw,
javax.wsdl.BindingOperation bindOp)
This function writes the regsiterFaultInfo API calls
|
protected void |
writeFileBody(PrintWriter pw)
Write the body of the binding's stub file.
|
protected void |
writeOperation(PrintWriter pw,
javax.wsdl.BindingOperation operation,
Parameters parms,
String soapAction,
String opStyle,
boolean oneway,
int opIndex)
Write the stub code for the given operation.
|
protected void |
writeOperationMap(PrintWriter pw)
Method writeOperationMap
|
protected void |
writeOutputAssign(PrintWriter pw,
String target,
Parameter param,
String source)
writeOutputAssign
|
protected void |
writeParameters(PrintWriter pw,
Parameters parms)
Method writeParameters
|
protected void |
writeResponseHandling(PrintWriter pw,
Parameters parms)
Method writeResponseHandling
|
protected void |
writeSerializationDecls(PrintWriter pw,
boolean hasMIME,
String namespace)
In the stub constructor, write the serializer code for the complex types.
|
protected void |
writeSerializationInit(PrintWriter pw,
TypeEntry type)
Method writeSerializationInit
|
getClassModifiers, getClassName, getClassText, getFileName, getPackage, registerFile, writeFileFooter, writeFileHeader, writeHeaderComments, writePackage
closePrintWriter, generate, getJavadocDescriptionPart, getPrintWriter, isFileGenerated, verboseMessage, writeComment, writeComment
public JavaStubWriter(Emitter emitter, BindingEntry bEntry, SymbolTable symbolTable)
emitter
- bEntry
- symbolTable
- protected String getExtendsText()
getExtendsText
in class JavaClassWriter
protected String getImplementsText()
getImplementsText
in class JavaClassWriter
protected void writeFileBody(PrintWriter pw) throws IOException
writeFileBody
in class JavaWriter
pw
- IOException
protected void writeBindingMethods(PrintWriter pw, List deferredBindings)
pw
- a PrintWriter
valuedeferredBindings
- a List
of TypeEntry objectsprotected void writeOperationMap(PrintWriter pw)
pw
- protected void writeFaultInfo(PrintWriter pw, javax.wsdl.BindingOperation bindOp)
pw
- bindOp
- protected void writeSerializationDecls(PrintWriter pw, boolean hasMIME, String namespace)
pw
- hasMIME
- namespace
- protected void writeSerializationInit(PrintWriter pw, TypeEntry type)
pw
- type
- protected void writeOperation(PrintWriter pw, javax.wsdl.BindingOperation operation, Parameters parms, String soapAction, String opStyle, boolean oneway, int opIndex)
pw
- operation
- parms
- soapAction
- opStyle
- oneway
- opIndex
- protected void writeParameters(PrintWriter pw, Parameters parms)
pw
- parms
- protected void writeResponseHandling(PrintWriter pw, Parameters parms)
pw
- parms
- protected void writeOutputAssign(PrintWriter pw, String target, Parameter param, String source)
pw
- target
- (either "return" or "something ="source
- (source String)Copyright © The Apache Software Foundation. All Rights Reserved.