org.apache.axis.wsdl.toJava
Class JavaComplexTypeWriter

java.lang.Object
  |
  +--org.apache.axis.wsdl.toJava.JavaWriter
        |
        +--org.apache.axis.wsdl.toJava.JavaComplexTypeWriter
All Implemented Interfaces:
Writer

public class JavaComplexTypeWriter
extends JavaWriter

This is Wsdl2java's Complex Type Writer. It writes the .java file.


Fields inherited from class org.apache.axis.wsdl.toJava.JavaWriter
className, emitter, fileName, message, namespaces, packageName, pw, qname, type
 
Constructor Summary
protected JavaComplexTypeWriter(Emitter emitter, TypeEntry type, java.util.Vector elements, TypeEntry extendType, java.util.Vector attributes)
          Constructor.
 
Method Summary
protected  void writeFileBody()
          Generate the binding for the given complex type.
 
Methods inherited from class org.apache.axis.wsdl.toJava.JavaWriter
fileExists, getResponseString, initializeDeploymentDoc, isPrimitiveType, wrapPrimitiveType, write, writeComment, writeFileHeader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaComplexTypeWriter

protected JavaComplexTypeWriter(Emitter emitter,
                                TypeEntry type,
                                java.util.Vector elements,
                                TypeEntry extendType,
                                java.util.Vector attributes)
Constructor.
Parameters:
emitter -  
type - The type representing this class
elements - Vector containing the Type and name of each property
extendType - The type representing the extended class (or null)
Method Detail

writeFileBody

protected void writeFileBody()
                      throws java.io.IOException
Generate the binding for the given complex type. The elements vector contains the Types (even indices) and element names (odd indices) of the contained elements
Overrides:
writeFileBody in class JavaWriter


Copyright © 2001 Apache XML Project. All Rights Reserved.