|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.biomage.tools.generate_java.CreateJavaFile
org.biomage.tools.generate_java.CreateJavaMAGEFile
public class CreateJavaMAGEFile
Description:
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.biomage.tools.generate_java.CreateJavaFile |
---|
CreateJavaFile.rankComparator, CreateJavaFile.WriteAssociationAttrInformation, CreateJavaFile.WriteAttrInformation, CreateJavaFile.WriteRoleInformation |
Constructor Summary | |
---|---|
protected |
CreateJavaMAGEFile(CreateFile createFile,
java.util.Vector classes)
|
Method Summary | |
---|---|
void |
printJavaClassFile(java.lang.String fullOutputDir,
java.lang.String packagePath,
java.io.File header)
Description: From the parsed information creates the file itself. |
void |
writeModelToClassMap(java.io.FileWriter writer,
java.lang.String packagePath)
Description: It is not clear from the XML where to find the class when instantiating objects. |
protected void |
writeXMLWriterMethods(java.io.FileWriter writer)
Description: Writes the methods for generating XML from the object data. |
Methods inherited from class org.biomage.tools.generate_java.CreateJavaFile |
---|
getAttrVarName, writeAssnAttrDecl, writeAssnAttrMethods, writeAttrDecl, writeAttributeConstructor, writeAttrMethods, writeClassDecl, writeDataAttrDecl, writeDataAttrMethods, writeDefaultConstructor, writeExceptionClass, writeImports |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected CreateJavaMAGEFile(CreateFile createFile, java.util.Vector classes)
Method Detail |
---|
public void printJavaClassFile(java.lang.String fullOutputDir, java.lang.String packagePath, java.io.File header) throws java.lang.Exception
printJavaClassFile
in class CreateJavaFile
fullOutputDir:
- the full path for the project.packagePath:
- the directory from which to start from.header:
- the preamble copyright and creation information.
java.lang.Exception
protected void writeXMLWriterMethods(java.io.FileWriter writer) throws java.lang.Exception
writeXMLWriterMethods
in class CreateJavaFile
writer:
- FileWriter to used to write to the file.
java.lang.Exception
public void writeModelToClassMap(java.io.FileWriter writer, java.lang.String packagePath) throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |