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


public class DefaultUMLGenerator

The DefaultUMLGenerator specifies the initialization for generating code from a UML model.
See also:
com.gentleware.poseidon.generator.CoreGenerator
com.gentleware.poseidon.generator.ElementPreparator
com.gentleware.poseidon.generator.TemplateStrategy


 Inner Classifier Summary
public static   DefaultUMLGenerator.JavaAccessorContainer
 
arrow_up
 

 Attribute Summary
protected boolean  whileCompiling
 
arrow_up
 

 Constructor Summary
public   DefaultUMLGenerator()
 
public   DefaultUMLGenerator(String language )
 
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 )
 
public String   getFilenameForElement(Object element , String targetLocation )
Returns the filename based on the name of the element, without extension. 
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 )
Contains actions, that should be done before the generation itself. 
public boolean   isCompiling()
Tests, if the generator is currently working on a generation task. 
arrow_up
 

 

 Inner Classifier Detail

DefaultUMLGenerator.JavaAccessorContainer

public static  DefaultUMLGenerator.JavaAccessorContainer

 
arrow_up
 

 Attribute Detail

whileCompiling

protected boolean whileCompiling

 
arrow_up
 

 Constructor Detail

DefaultUMLGenerator

public DefaultUMLGenerator DefaultUMLGenerator()

 
arrow_up
 
 

DefaultUMLGenerator

public DefaultUMLGenerator DefaultUMLGenerator(String language )

 
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 )

 
arrow_up
 
 

getFilenameForElement

public String getFilenameForElement(Object element , String targetLocation )

Returns the filename based on the name of the element, without extension.  
arrow_up
 
 

getPlainFilenameForElement

public String getPlainFilenameForElement(Object element , String targetLocation )

Returns the filename based on the name of the element, without extension. 
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 )

Contains actions, that should be done before the generation itself.
Parameters:
path - Path to the target of the code generation.
 
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  2003 - 3 - 4

    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 2001 Gentleware AG, Vogt-Kölln-Str.30, 22527 Hamburg, Germany. All Rights Reserved.

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