org.apache.axis.wsdl.toJava

Class JavaFaultWriter

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.

Constructor Summary
protected JavaFaultWriter(Emitter emitter, SymbolTable symbolTable, FaultInfo faultInfo)
Constructor.
Method Summary
protected StringgetExtendsText()
Return "extends org.apache.axis.AxisFault ".
protected voidwriteFileBody(PrintWriter pw)
Write the body of the Fault file.

Constructor Detail

JavaFaultWriter

protected JavaFaultWriter(Emitter emitter, SymbolTable symbolTable, FaultInfo faultInfo)
Constructor.

Parameters: emitter symbolTable faultInfo

Method Detail

getExtendsText

protected String getExtendsText()
Return "extends org.apache.axis.AxisFault ".

Returns:

writeFileBody

protected void writeFileBody(PrintWriter pw)
Write the body of the Fault file.

Parameters: pw

Throws: IOException

Copyright B) 2005 Apache Web Services Project. All Rights Reserved.