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 UMLGenerator


public abstract class UMLGenerator

The base class for all UML-based code generation.


 Method Summary
public void   compilePost(String path )
Contains actions that should be done after the compilation. 
protected List   generateFilesToPersistTarget(Object element , String targetLocation , Object predicate )
 
public void   generatePost(String path )
Contains actions that should be done after the generation but before compilation. 
public void   generatePre(String path )
Contains actions that should be done prior to the generation. 
protected String   generateToDisplay(Object element )
 
protected List   generateToMultipleDisplays(Object element , Object predicate )
 
protected String   generateToPersistTarget(Object element , String targetLocation )
 
public void   prepareFromRootElement( CheckNode root )
Starts preparing the element information, starting with the given root element and moving recursively down the tree. 
protected PreparedElement   prepareNode( CheckNode node )
 
arrow_up
 

 

 Method Detail

compilePost

public void compilePost(String path )

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

generateFilesToPersistTarget

protected List generateFilesToPersistTarget(Object element , String targetLocation , Object predicate )

 
arrow_up
 
 

generatePost

public void generatePost(String path )

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

generatePre

public void generatePre(String path )

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

generateToDisplay

protected String generateToDisplay(Object element )

 
arrow_up
 
 

generateToMultipleDisplays

protected List generateToMultipleDisplays(Object element , Object predicate )

 
arrow_up
 
 

generateToPersistTarget

protected String generateToPersistTarget(Object element , String targetLocation )

 
arrow_up
 
 

prepareFromRootElement

public void prepareFromRootElement( CheckNode root )

Starts preparing the element information, starting with the given root element and moving recursively down the tree. The object represented by the root element has to be a valid UML model.
Parameters:
root - Root node of the element tree used for retrieving the element information.
 
arrow_up
 
 

prepareNode

protected PreparedElement prepareNode( CheckNode node )

 
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.