org.apache.axis.wsdl.toJava
public class JavaBeanHelperWriter extends JavaClassWriter
Field Summary | |
---|---|
protected Vector | attributes Field attributes |
protected boolean | canSearchParents Field canSearchParents |
protected Vector | elementMetaData Field elementMetaData |
protected Vector | elements Field elements |
protected TypeEntry | extendType Field extendType |
protected Set | reservedPropNames Field reservedPropNames |
protected TypeEntry | type Field type |
protected PrintWriter | wrapperPW Field wrapperPW |
Constructor Summary | |
---|---|
protected | JavaBeanHelperWriter(Emitter emitter, TypeEntry type, Vector elements, TypeEntry extendType, Vector attributes, Set reservedPropNames)
Constructor.
|
Method Summary | |
---|---|
protected void | closePrintWriter(PrintWriter pw)
Only close the PrintWriter if the PrintWriter belongs to
this class. |
protected PrintWriter | getPrintWriter(String filename)
The default behaviour (of super.getPrintWriter) is, given the
file name, create a PrintWriter for it. |
protected void | registerFile(String file)
Only register the filename if the bean helper is not wrapped
within a bean.
|
protected void | setPrintWriter(PrintWriter pw)
The bean helper class may be its own class, or it may be
embedded within the bean class. |
protected String | verboseMessage(String file)
Return the string: "Generating |
protected void | writeDeserializer(PrintWriter pw)
write Deserializer getter code and pass in meta data to avoid
undo introspection.
|
protected void | writeFileBody(PrintWriter pw)
Generate the file body for the bean helper.
|
protected void | writeFileFooter(PrintWriter pw)
Only write the file footer if the bean helper is not
wrapped within a bean.
|
protected void | writeFileHeader(PrintWriter pw)
Only write the file header if the bean helper is not wrapped
within a bean.
|
protected void | writeMetaData(PrintWriter pw)
write MetaData code
|
protected void | writeSerializer(PrintWriter pw)
write Serializer getter code and pass in meta data to avoid
undo introspection.
|
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
Parameters: pw
Parameters: filename
Returns:
Throws: IOException
Parameters: file
Parameters: pw
Parameters: file
Returns:
Parameters: pw
Throws: IOException
Parameters: pw
Throws: IOException
Parameters: pw
Throws: IOException
Parameters: pw
Throws: IOException
Parameters: pw
Throws: IOException
Parameters: pw
Throws: IOException