org.biomage.tools.generate_java
Class CreateJavaClassFile.WriteDataAttrInformation

java.lang.Object
  extended by org.biomage.tools.generate_java.CreateJavaFile.WriteAttrInformation
      extended by org.biomage.tools.generate_java.CreateJavaClassFile.WriteDataAttrInformation
Enclosing class:
CreateJavaClassFile

protected class CreateJavaClassFile.WriteDataAttrInformation
extends CreateJavaFile.WriteAttrInformation

Description: Inner class to write attribute information. Overwrites baseclass to do data attribute specific code generation.


Constructor Summary
protected CreateJavaClassFile.WriteDataAttrInformation()
          Description: C'tor for class.
 
Method Summary
protected  void writeAttr(java.io.FileWriter writer, CreateFile.AttrInformation attr)
          Description: Writes itself to the file.
 
Methods inherited from class org.biomage.tools.generate_java.CreateJavaFile.WriteAttrInformation
getDatatype, writeGetAndSet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreateJavaClassFile.WriteDataAttrInformation

protected CreateJavaClassFile.WriteDataAttrInformation()
                                                throws java.lang.Exception
Description: C'tor for class.

Parameters:
writer: - to use to write to the Java class file.
attrInfo: - class to obtain the information to use to write the Java attributes.

Throws:
java.lang.Exception
Method Detail

writeAttr

protected void writeAttr(java.io.FileWriter writer,
                         CreateFile.AttrInformation attr)
                  throws java.lang.Exception
Description: Writes itself to the file.

Overrides:
writeAttr in class CreateJavaFile.WriteAttrInformation
Parameters:
writer: - FileWriter to used to write to the file.
attr: - information on the attribute.

Throws:
java.lang.Exception