Poseidon for UMLTM
  UMLdoc
 PREV  CLASSIFIER    NEXT  CLASSIFIER     FRAMES    NO FRAMES      
SUMMARY:   INNER | ATTR | ASSOC | CONSTR | METHOD     DETAIL:   INNER | ATTR | ASSOC | CONSTR | METHOD     DIAGRAMS:   COLLAB | SEQ | STATE | ACTIV

com.gentleware.poseidon.uml.generator

Class DefaultUMLGenerator

com.gentleware.poseidon.generator.CoreGenerator
    inheritcom.gentleware.poseidon.uml.generator.UMLGenerator
        inheritcom.gentleware.poseidon.uml.generator.DefaultUMLGenerator

public class DefaultUMLGenerator


The DefaultUMLGenerator specifies the initialization for generating code from a UML model.

See also:
com.gentleware.poseidon.generator.TemplateStrategy


 Inner Classifier Summary
public static   DefaultUMLGenerator.JavaAccessorContainer
Helper class to use the accessor template. 
arrow_up
 

 Attribute Summary
protected boolean  whileCompiling
 
arrow_up
 

 Constructor Summary
public   DefaultUMLGenerator()
 
arrow_up
 

 Method Summary
public void   compilePost(String path)
Contains actions, that should be done before the compilation of the generated code. 
public void   generatePost(String path)
Contains actions, that should be done after the generation itself. 
public void   generatePre(String path)
Contains actions, that should be done before the generation itself. 
public String   getPlainFilenameForElement(Object element, String targetLocation)
Returns the filename based on the name of the element, without extension. 
public void   init()
Initializes the generator instance. 
public void   init(String language)
 
public boolean   isCompiling()
Tests, if the generator is currently working on a generation task. 
arrow_up
 

Tagged Values
static false
gentleware-imported-line-number 26
gentleware-imported-package-statement-line-number 5
 

 Inner Classifier Detail

DefaultUMLGenerator.JavaAccessorContainer

public static  DefaultUMLGenerator.JavaAccessorContainer

Helper class to use the accessor template.  
arrow_up
 Attribute Detail

whileCompiling

protected boolean whileCompiling

arrow_up
 Constructor Detail

DefaultUMLGenerator

public com.gentleware.poseidon.uml.generator.DefaultUMLGenerator DefaultUMLGenerator()

Returns:
arrow_up
 Method Detail

compilePost

public void compilePost(String path)


Contains actions, that should be done before the compilation of the generated code.  
Parameters:
path - Path to the target of the code generation.
arrow_up


generatePost

public void generatePost(String path)


Contains actions, that should be done after the generation itself.  
Parameters:
path - Path to the target of the code generation.
arrow_up


generatePre

public void generatePre(String path)


Contains actions, that should be done before the generation itself.  
Parameters:
path - Path to the target of the code generation.
arrow_up


getPlainFilenameForElement

public String getPlainFilenameForElement(Object element, String targetLocation)


Returns the filename based on the name of the element, without extension.  
Parameters:
element -
targetLocation -
Returns:
arrow_up


init

public void init()


Initializes the generator instance. Default code templates for creating Java or HTML code are added to the template collection.  
arrow_up


init

public void init(String language)

Parameters:
language -
arrow_up


isCompiling

public boolean isCompiling()


Tests, if the generator is currently working on a generation task.  
Returns:
True, if the generator is currently generating or compiling code, otherwise false.
arrow_up
Created  2004 - 12 - 1

    Poseidon for UMLTM
  UMLdoc
 PREV  CLASSIFIER    NEXT  CLASSIFIER     FRAMES    NO FRAMES      
SUMMARY:   INNER | ATTR | ASSOC | CONSTR | METHOD     DETAIL:   INNER | ATTR | ASSOC | CONSTR | METHOD     DIAGRAMS:   COLLAB | SEQ | STATE | ACTIV

Generated with Poseidon for UMLTM.
Poseidon is a registered trademark of Gentleware AG in Germany, USA and other countries. Copyright 2003-2004 Gentleware AG, Schanzenstr. 70, 20357 Hamburg, Germany. All Rights Reserved.

UML is a trademark or registered trademark of Object Management Group, Inc. in the U.S. and other countries.