org.apache.geronimo.ews.jaxrpcmapping
Class J2eeEnumTypeWriter

java.lang.Object
  extended byorg.apache.axis.wsdl.toJava.JavaWriter
      extended byorg.apache.axis.wsdl.toJava.JavaClassWriter
          extended byorg.apache.geronimo.ews.jaxrpcmapping.J2eeEnumTypeWriter
All Implemented Interfaces:
org.apache.axis.wsdl.gen.Generator

Deprecated. no more used by J2eeGeneratorFactory

public class J2eeEnumTypeWriter
extends org.apache.axis.wsdl.toJava.JavaClassWriter

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

Author:
Ias (iasandcb@tmax.co.kr)

Field Summary
 
Fields inherited from class org.apache.axis.wsdl.toJava.JavaClassWriter
className, namespaces, packageName
 
Fields inherited from class org.apache.axis.wsdl.toJava.JavaWriter
emitter, LINE_LENGTH
 
Constructor Summary
protected J2eeEnumTypeWriter(J2eeEmitter emitter, org.apache.axis.wsdl.symbolTable.TypeEntry type, java.util.Vector elements)
          Deprecated. Constructor.
 
Method Summary
static java.util.Vector getEnumValueIds(java.util.Vector bv)
          Deprecated. Get the enumeration names for the values.
protected  java.lang.String getImplementsText()
          Deprecated. Return "implements java.io.Serializable ".
protected  void writeFileBody(java.io.PrintWriter pw)
          Deprecated. Generate the binding for the given enumeration type.
 
Methods inherited from class org.apache.axis.wsdl.toJava.JavaClassWriter
getClassModifiers, getClassName, getClassText, getExtendsText, getFileName, getPackage, registerFile, writeFileFooter, writeFileHeader, writeHeaderComments, writePackage
 
Methods inherited from class org.apache.axis.wsdl.toJava.JavaWriter
closePrintWriter, generate, getJavadocDescriptionPart, getPrintWriter, isFileGenerated, verboseMessage, writeComment, writeComment
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

J2eeEnumTypeWriter

protected J2eeEnumTypeWriter(J2eeEmitter emitter,
                             org.apache.axis.wsdl.symbolTable.TypeEntry type,
                             java.util.Vector elements)
Deprecated. 
Constructor.

Method Detail

getImplementsText

protected java.lang.String getImplementsText()
Deprecated. 
Return "implements java.io.Serializable ".


writeFileBody

protected void writeFileBody(java.io.PrintWriter pw)
                      throws java.io.IOException
Deprecated. 
Generate the binding for the given enumeration type. The values vector contains the base type (first index) and the values (subsequent Strings)

Throws:
java.io.IOException

getEnumValueIds

public static java.util.Vector getEnumValueIds(java.util.Vector bv)
Deprecated. 
Get the enumeration names for the values. The name is affected by whether all of the values of the enumeration can be expressed as valid java identifiers.

Parameters:
bv - Vector base and values vector from getEnumerationBaseAndValues
Returns:
Vector names of enum value identifiers.


Copyright © 2004 Apache Software Foundation. All Rights Reserved.