org.apache.axis.wsdl.toJava
Class JavaBeanHelperWriter

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

public class JavaBeanHelperWriter
extends JavaWriter

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


Field Summary
protected  java.util.Vector attributes
           
protected  java.util.HashMap elementMappings
           
protected  java.util.Vector elements
           
protected  TypeEntry extendType
           
protected  TypeEntry type
           
 
Fields inherited from class org.apache.axis.wsdl.toJava.JavaWriter
className, embeddedCode, emitter, fileName, message, namespaces, packageName, pw, qname, rootName
 
Constructor Summary
protected JavaBeanHelperWriter(Emitter emitter, TypeEntry type, java.util.Vector elements, TypeEntry extendType, java.util.Vector attributes)
          Constructor.
 
Method Summary
protected  void writeDeserializer()
          write Deserializer getter code and pass in meta data to avoid undo introspection.
protected  void writeFileBody()
          Generate the binding for the given complex type.
protected  void writeMetaData()
          write MetaData code
protected  void writeSerializer()
          write Serializer getter code and pass in meta data to avoid undo introspection.
 
Methods inherited from class org.apache.axis.wsdl.toJava.JavaWriter
fileExists, getResponseString, initializeDeploymentDoc, isPrimitiveType, wrapPrimitiveType, write, write, writeComment, writeFileHeader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

type

protected TypeEntry type

elements

protected java.util.Vector elements

attributes

protected java.util.Vector attributes

extendType

protected TypeEntry extendType

elementMappings

protected java.util.HashMap elementMappings
Constructor Detail

JavaBeanHelperWriter

protected JavaBeanHelperWriter(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)
attributes - Vector containing the attribute types and names
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

writeMetaData

protected void writeMetaData()
                      throws java.io.IOException
write MetaData code

writeSerializer

protected void writeSerializer()
                        throws java.io.IOException
write Serializer getter code and pass in meta data to avoid undo introspection.

writeDeserializer

protected void writeDeserializer()
                          throws java.io.IOException
write Deserializer getter code and pass in meta data to avoid undo introspection.


Copyright © 2001 Apache XML Project. All Rights Reserved.