Poseidon for UMLTM
  UMLdoc
 PREV      NEXT       FRAMES    NO FRAMES      

com.gentleware.poseidon.generator

Interface TemplateStrategy

com.gentleware.poseidon.generator.TemplateStrategy

public interface TemplateStrategy


This interface declares the methods needed to handle CodeTemplates correctly for usage with different element classes.
Authors:
Thorsten Sturm
See also:
CoreGenerator


 Association Summary
public CoreGenerator  coreGenerator
 
arrow_up
 

 Method Summary
public boolean   initTemplate(CodeTemplate template, Object element, ElementPreparator preparator)
Retrieves the prepared element for the given element and initializes the code template for handling this prepared element. 
arrow_up
 

Tagged Values
static false
 

 Association Detail

coreGenerator

public CoreGenerator coreGenerator

arrow_up
 Method Detail

initTemplate

public boolean initTemplate(CodeTemplate template, Object element, ElementPreparator preparator)


Retrieves the prepared element for the given element and initializes the code template for handling this prepared element.  
Parameters:
template - CodeTemplate instance to be initialized.
element - Element to be prepared and used within the CodeTemplate.
preparator - ElementPreparator to be used for preparing the given element.
Returns:
arrow_up
Created  2004 - 10 - 21

    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.