Package org.apache.axis.wsdl.toJava
Class JavaFaultWriter
java.lang.Object
org.apache.axis.wsdl.toJava.JavaWriter
org.apache.axis.wsdl.toJava.JavaClassWriter
org.apache.axis.wsdl.toJava.JavaFaultWriter
- All Implemented Interfaces:
Generator
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.
-
Field Summary
Fields inherited from class org.apache.axis.wsdl.toJava.JavaClassWriter
className, namespaces, packageNameFields inherited from class org.apache.axis.wsdl.toJava.JavaWriter
emitter, LINE_LENGTH, type -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJavaFaultWriter(Emitter emitter, SymbolTable symbolTable, FaultInfo faultInfo) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected StringReturn "extends org.apache.axis.AxisFault ".protected voidWrite 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, writePackageMethods inherited from class org.apache.axis.wsdl.toJava.JavaWriter
closePrintWriter, generate, getJavadocDescriptionPart, getPrintWriter, isFileGenerated, verboseMessage, writeComment, writeComment
-
Constructor Details
-
JavaFaultWriter
Constructor.- Parameters:
emitter-symbolTable-faultInfo-
-
-
Method Details
-
getExtendsText
Return "extends org.apache.axis.AxisFault ".- Overrides:
getExtendsTextin classJavaClassWriter- Returns:
-
writeFileBody
Write the body of the Fault file.- Specified by:
writeFileBodyin classJavaWriter- Parameters:
pw-- Throws:
IOException
-