org.apache.axis.wsdl.toJava
Class JavaFaultWriter
java.lang.Object
   org.apache.axis.wsdl.toJava.JavaWriter
org.apache.axis.wsdl.toJava.JavaWriter
       org.apache.axis.wsdl.toJava.JavaClassWriter
org.apache.axis.wsdl.toJava.JavaClassWriter
           org.apache.axis.wsdl.toJava.JavaFaultWriter
org.apache.axis.wsdl.toJava.JavaFaultWriter
- All Implemented Interfaces: 
- Generator
- public class JavaFaultWriter- extends JavaClassWriter
This is Wsdl2java's Fault Writer.  It writes the .java file.
 
 NOTE: This only writes simple type faults, the JavaTypeWriter emits
 faults that are complex types.
 
 
 
 
| Method Summary | 
| protected  java.lang.String | getExtendsText()Return "extends org.apache.axis.AxisFault ".
 | 
| protected  void | writeFileBody(java.io.PrintWriter pw)Write the body of the Fault file.
 | 
 
| Methods inherited from class org.apache.axis.wsdl.toJava.JavaClassWriter | 
| getClassModifiers, getClassName, getClassText, getFileName, getImplementsText, getPackage, registerFile, writeFileFooter, writeFileHeader, writeHeaderComments, writePackage | 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
JavaFaultWriter
protected JavaFaultWriter(Emitter emitter,
                          SymbolTable symbolTable,
                          FaultInfo faultInfo)
- Constructor.
 
- Parameters:
- emitter-
- symbolTable-
- faultInfo-
getExtendsText
protected java.lang.String getExtendsText()
- Return "extends org.apache.axis.AxisFault ".
 
- 
- Overrides:
- getExtendsTextin class- JavaClassWriter
 
- 
- Returns:
 
writeFileBody
protected void writeFileBody(java.io.PrintWriter pw)
                      throws java.io.IOException
- Write the body of the Fault file.
 
- 
- Specified by:
- writeFileBodyin class- JavaWriter
 
- 
- Parameters:
- pw-
- Throws:
- java.io.IOException
 
Copyright © 2005 Apache Web Services Project. All Rights Reserved.