| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectorg.apache.axis.wsdl.toJava.JavaWriterorg.apache.axis.wsdl.toJava.JavaClassWriterorg.apache.axis.wsdl.toJava.JavaStubWriterpublic class JavaStubWriterextends JavaClassWriterField Summary | |
protected static Log |
|
Fields inherited from class org.apache.axis.wsdl.toJava.JavaClassWriter | |
className, namespaces, packageName | |
Fields inherited from class org.apache.axis.wsdl.toJava.JavaWriter | |
LINE_LENGTH, emitter, type | |
Constructor Summary | |
| |
Method Summary | |
protected String |
|
protected String |
|
protected void |
|
protected void |
|
protected void |
|
protected void |
|
protected void |
|
protected void |
|
protected void |
|
protected void |
|
protected void |
|
protected void |
|
Methods inherited from class org.apache.axis.wsdl.toJava.JavaClassWriter | |
getClassModifiers, getClassName, getClassText, getExtendsText, getFileName, getImplementsText, getPackage, registerFile, writeFileFooter, writeFileHeader, writeHeaderComments, writePackage | |
Methods inherited from class org.apache.axis.wsdl.toJava.JavaWriter | |
closePrintWriter, generate, getFileName, getJavadocDescriptionPart, getPrintWriter, isFileGenerated, registerFile, verboseMessage, writeComment, writeComment, writeFileBody, writeFileFooter, writeFileHeader | |
public JavaStubWriter(Emitter emitter, BindingEntry bEntry, SymbolTable symbolTable)
Constructor.
- Parameters:
emitter-bEntry-symbolTable-
protected String getExtendsText()
Returns "extends org.apache.axis.client.Stub ".
- Overrides:
- getExtendsText in interface JavaClassWriter
- Returns:
protected String getImplementsText()
Returns "implements".
- Overrides:
- getImplementsText in interface JavaClassWriter
- Returns:
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. This method writes a number of private methods out that do this in batches of size MAXIMUM_BINDINGS_PER_METHOD so that generated classes do not end up with a single method that exceeds the 64K limit that the VM imposes on all methods.
- Parameters:
pw- aPrintWritervaluedeferredBindings- aListof TypeEntry objects
protected void writeFaultInfo(PrintWriter pw,
BindingOperation bindOp)This function writes the regsiterFaultInfo API calls
- Parameters:
pw-bindOp-
protected void writeFileBody(PrintWriter pw)
throws IOExceptionWrite the body of the binding's stub file.
- Overrides:
- writeFileBody in interface JavaWriter
- Parameters:
pw-
protected void writeOperation(PrintWriter pw,
BindingOperation operation,
Parameters parms,
String soapAction,
String opStyle,
boolean oneway,
int opIndex)Write the stub code for the given operation.
- Parameters:
pw-operation-parms-soapAction-opStyle-oneway-opIndex-
protected void writeOperationMap(PrintWriter pw)
Method writeOperationMap
- Parameters:
pw-
protected void writeOutputAssign(PrintWriter pw,
String target,
Parameter param,
String source)writeOutputAssign
- Parameters:
pw-target- (either "return" or "something ="source- (source String)
protected void writeParameters(PrintWriter pw,
Parameters parms)Method writeParameters
- Parameters:
pw-parms-
protected void writeResponseHandling(PrintWriter pw,
Parameters parms)Method writeResponseHandling
- Parameters:
pw-parms-
protected void writeSerializationDecls(PrintWriter pw,
boolean hasMIME,
String namespace)In the stub constructor, write the serializer code for the complex types.
- Parameters:
pw-hasMIME-namespace-
protected void writeSerializationInit(PrintWriter pw,
TypeEntry type)Method writeSerializationInit
- Parameters:
pw-type-