org.apache.axis.wsdl.toJava
Class JavaHolderWriter
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.JavaHolderWriter
org.apache.axis.wsdl.toJava.JavaHolderWriter
- All Implemented Interfaces: 
- Generator
- public class JavaHolderWriter- extends JavaClassWriter
This is Wsdl2java's Holder Writer.  It writes the Holder.java file.
 
 
 
 
| Method Summary | 
|  void | generate()Generate a java source file for the holder class.
 | 
| protected  java.lang.String | getClassModifiers()Return "public final ".
 | 
| protected  java.lang.String | getImplementsText()Return "implements javax.xml.rpc.holders.Holder ".
 | 
| protected  void | writeFileBody(java.io.PrintWriter pw)Generate the holder for the given complex type.
 | 
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
JavaHolderWriter
protected JavaHolderWriter(Emitter emitter,
                           TypeEntry type)
- Constructor.
 
- Parameters:
- emitter-
- type-
getClassModifiers
protected java.lang.String getClassModifiers()
- Return "public final ".
 
- 
- Overrides:
- getClassModifiersin class- JavaClassWriter
 
- 
- Returns:
 
getImplementsText
protected java.lang.String getImplementsText()
- Return "implements javax.xml.rpc.holders.Holder ".
 
- 
- Overrides:
- getImplementsTextin class- JavaClassWriter
 
- 
- Returns:
 
writeFileBody
protected void writeFileBody(java.io.PrintWriter pw)
                      throws java.io.IOException
- Generate the holder for the given complex type.
 
- 
- Specified by:
- writeFileBodyin class- JavaWriter
 
- 
- Parameters:
- pw-
- Throws:
- java.io.IOException
 
generate
public void generate()
              throws java.io.IOException
- 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.
 
- 
- Specified by:
- generatein interface- Generator
- Overrides:
- generatein class- JavaWriter
 
- 
- Throws:
- java.io.IOException
 
Copyright © 2005 Apache Web Services Project. All Rights Reserved.