org.apache.axis.wsdl.toJava
Class JavaBeanWriter
java.lang.Object
|
+--org.apache.axis.wsdl.toJava.JavaWriter
|
+--org.apache.axis.wsdl.toJava.JavaBeanWriter
- All Implemented Interfaces:
- Writer
- public class JavaBeanWriter
- 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, embeddedCode, emitter, fileName, message, namespaces, packageName, pw, qname, rootName, type |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
helper
protected JavaWriter helper
names
protected java.util.Vector names
JavaBeanWriter
protected JavaBeanWriter(Emitter emitter,
TypeEntry type,
java.util.Vector elements,
TypeEntry extendType,
java.util.Vector attributes,
JavaWriter helper)
- Constructor.
- Parameters:
emitter
- type
- The type representing this classelements
- Vector containing the Type and name of each propertyextendType
- The type representing the extended class (or null)attributes
- Vector containing the attribute types and nameshelper
- Helper class writer
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
writeEqualsMethod
protected void writeEqualsMethod()
- Generate an equals method.
writeHashCodeMethod
protected void writeHashCodeMethod()
Copyright © 2001 Apache XML Project. All Rights Reserved.