uk.ac.soton.ecs.grimoires.axis
Class JavaBeanWriter

java.lang.Object
  extended byorg.apache.axis.wsdl.toJava.JavaWriter
      extended byorg.apache.axis.wsdl.toJava.JavaClassWriter
          extended byorg.apache.axis.wsdl.toJava.JavaBeanWriter
              extended byuk.ac.soton.ecs.grimoires.axis.JavaBeanWriter
All Implemented Interfaces:
org.apache.axis.wsdl.gen.Generator

public class JavaBeanWriter
extends org.apache.axis.wsdl.toJava.JavaBeanWriter


Field Summary
 
Fields inherited from class org.apache.axis.wsdl.toJava.JavaBeanWriter
enableDefaultConstructor, enableEquals, enableFullConstructor, enableGetters, enableHashCode, enableMemberFields, enableSetters, enableSimpleConstructors, enableToString, enumerationTypes, helper, isAny, isMixed, names, pw, simpleValueTypes
 
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
 
Method Summary
protected static String getAttrValue(Node parent, String attrName)
           
protected  String getExtendsText()
           
protected  String getImplementsText()
          Returns the appropriate implements text
 void load(String configFile)
           
 Node search(String name, String namespace)
          Search for element with attributes name and namespace in configuration dom.
protected  void writeFileBody(PrintWriter pw)
           
protected  void writeImports(PrintWriter pw)
           
protected  void writeMethods(PrintWriter pw)
           
protected  void writePackage(PrintWriter pw)
           
 
Methods inherited from class org.apache.axis.wsdl.toJava.JavaBeanWriter
generate, getBinaryTypeEncoderName, getClassModifiers, getElementDecl, preprocess, writeAccessMethods, writeDefaultConstructor, writeEqualsMethod, writeFileHeader, writeFullConstructor, writeHashCodeMethod, writeMemberFields, writeMinimalConstructor, writeSimpleConstructors, writeSimpleTypeGetter, writeSimpleTypeSetter, writeToStringMethod
 
Methods inherited from class org.apache.axis.wsdl.toJava.JavaClassWriter
getClassName, getClassText, getFileName, getPackage, registerFile, writeFileFooter, writeHeaderComments
 
Methods inherited from class org.apache.axis.wsdl.toJava.JavaWriter
closePrintWriter, getJavadocDescriptionPart, getPrintWriter, isFileGenerated, verboseMessage, writeComment, writeComment
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getExtendsText

protected String getExtendsText()

getImplementsText

protected String getImplementsText()
Returns the appropriate implements text

Returns:
" implements "

writePackage

protected void writePackage(PrintWriter pw)
                     throws IOException
Throws:
IOException

writeImports

protected void writeImports(PrintWriter pw)
                     throws IOException
Throws:
IOException

writeFileBody

protected void writeFileBody(PrintWriter pw)
                      throws IOException
Throws:
IOException

writeMethods

protected void writeMethods(PrintWriter pw)
                     throws IOException
Throws:
IOException

search

public Node search(String name,
                   String namespace)
            throws FactoryException
Search for element with attributes name and namespace in configuration dom.

Throws:
FactoryException

getAttrValue

protected static String getAttrValue(Node parent,
                                     String attrName)
                              throws FactoryException
Throws:
FactoryException

load

public void load(String configFile)
          throws FactoryException
Throws:
FactoryException