|
||||||||||
| PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.axis.wsdl.toJava.JavaWriter (src)
org.jboss.axis.wsdl.toJava.JavaClassWriter (src)
org.jboss.axis.wsdl.toJava.JavaBeanWriter
This is Wsdl2java's Complex Type Writer. It writes the
Field Summary
protected booleanenableDefaultConstructor
protected booleanenableEquals
protected booleanenableFullConstructor
protected booleanenableGetters
protected booleanenableHashCode
protected booleanenableSetters
protected booleanenableSimpleConstructors
protected booleanenableToString
protected JavaBeanHelperWriter (src) helper
protected java.util.Vectornames
protected java.io.PrintWriterpw
protected java.lang.StringsimpleValueType
Fields inherited from class org.jboss.axis.wsdl.toJava.JavaClassWriter (src)
className, namespaces, packageName
Fields inherited from class org.jboss.axis.wsdl.toJava.JavaWriter (src)
emitter
Constructor Summary
protected JavaBeanWriter(Emitter (src) emitter,
TypeEntry (src) type,
java.util.Vector elements,
TypeEntry (src) extendType,
java.util.Vector attributes,
JavaWriter (src) helper)
Constructor.
Method Summary
protected java.lang.StringgetClassModifiers()
Returns the appropriate extends text
protected java.lang.StringgetExtendsText()
Returns the appropriate extends text
protected java.lang.StringgetImplementsText()
Returns the appropriate implements text
protected voidpreprocess()
Builds the names String vector.
protected voidwriteAccessMethods()
Writes the setter and getter methods
protected voidwriteDefaultConstructor()
Writes the default constructor.
protected voidwriteEqualsMethod()
Writes a general purpose equals method
protected voidwriteFileBody(java.io.PrintWriter pw)
Generate the binding for the given complex type.
protected voidwriteFullConstructor()
Writes the full constructor.
protected voidwriteHashCodeMethod()
Writes a general purpose hashCode method.
protected voidwriteMemberFields()
Writes the member fields.
protected voidwriteSimpleConstructors()
Writes the constructors for SimpleTypes.
protected voidwriteToStringMethod()
Writes the toString method
Currently the toString method is only written for
simpleTypes.
Methods inherited from class org.jboss.axis.wsdl.toJava.JavaClassWriter (src)
getClassName, getClassText, getFileName, getPackage, registerFile, writeFileFooter, writeFileHeader, writeHeaderComments, writePackage
Methods inherited from class org.jboss.axis.wsdl.toJava.JavaWriter (src)
closePrintWriter, generate, getPrintWriter, isFileGenerated, verboseMessage, writeComment
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Field Detail
helper
protected JavaBeanHelperWriter (src) helper
names
protected java.util.Vector names
simpleValueType
protected java.lang.String simpleValueType
pw
protected java.io.PrintWriter pw
enableDefaultConstructor
protected boolean enableDefaultConstructor
enableFullConstructor
protected boolean enableFullConstructor
enableSimpleConstructors
protected boolean enableSimpleConstructors
enableToString
protected boolean enableToString
enableSetters
protected boolean enableSetters
enableGetters
protected boolean enableGetters
enableEquals
protected boolean enableEquals
enableHashCode
protected boolean enableHashCode
Constructor Detail
JavaBeanWriter
protected JavaBeanWriter(Emitter (src) emitter,
TypeEntry (src) type,
java.util.Vector elements,
TypeEntry (src) extendType,
java.util.Vector attributes,
JavaWriter (src) helper)
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
Method Detail
writeFileBody
protected void writeFileBody(java.io.PrintWriter pw)
throws java.io.IOException
writeFileBody in class JavaWriter (src)
java.io.IOException
preprocess
protected void preprocess()
getClassModifiers
protected java.lang.String getClassModifiers()
getClassModifiers in class JavaClassWriter (src)
getExtendsText
protected java.lang.String getExtendsText()
getExtendsText in class JavaClassWriter (src)
getImplementsText
protected java.lang.String getImplementsText()
getImplementsText in class JavaClassWriter (src)
writeMemberFields
protected void writeMemberFields()
writeDefaultConstructor
protected void writeDefaultConstructor()
writeFullConstructor
protected void writeFullConstructor()
writeSimpleConstructors
protected void writeSimpleConstructors()
writeToStringMethod
protected void writeToStringMethod()
writeAccessMethods
protected void writeAccessMethods()
writeEqualsMethod
protected void writeEqualsMethod()
writeHashCodeMethod
protected void writeHashCodeMethod()
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV CLASS (src)
NEXT CLASS (src)
FRAMES
NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD