org.apache.axis.wsdl.toJava

Class JavaHolderWriter

public class JavaHolderWriter extends JavaClassWriter

This is Wsdl2java's Holder Writer. It writes the Holder.java file.
Constructor Summary
protected JavaHolderWriter(Emitter emitter, TypeEntry type)
Constructor.
Method Summary
voidgenerate()
Generate a java source file for the holder class.
protected StringgetClassModifiers()
Return "public final ".
protected StringgetImplementsText()
Return "implements javax.xml.rpc.holders.Holder ".
protected voidwriteFileBody(PrintWriter pw)
Generate the holder for the given complex type.

Constructor Detail

JavaHolderWriter

protected JavaHolderWriter(Emitter emitter, TypeEntry type)
Constructor.

Parameters: emitter type

Method Detail

generate

public void generate()
Generate a java source file for the holder class. If the emitter works in deploy mode and the class already exists, the source wull not be generated.

getClassModifiers

protected String getClassModifiers()
Return "public final ".

Returns:

getImplementsText

protected String getImplementsText()
Return "implements javax.xml.rpc.holders.Holder ".

Returns:

writeFileBody

protected void writeFileBody(PrintWriter pw)
Generate the holder for the given complex type.

Parameters: pw

Throws: IOException

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