NAME
UMMF::UML::Export::Template - A code generator using Template Toolkit.
SYNOPSIS
use base qw(UMMF::UML::Export::Template);
DESCRIPTION
This package allow UML models to be processed into other forms using a template.
USAGE
Need description of template input data structure.
EXPORT
None exported.
TO DO
This entire class needs to be refactored; it has grown too large and most of the template variables are set up in a redundant manner that is dependent on the underlying meta-model.
I propose that the meta-model be used directly in all templates from now on.
AUTHOR
Kurt Stephens, kstephens@users.sourceforge.net 2003/05/02
SEE ALSO
VERSION
$Revision: 1.63 $
METHODS
template_file
$self->template_file;
Returns the name of the Template to be used.
If $self-
{'template_file'}> is not defined, defaults to the file name ref($self) . '.txt'
.
template_config
Returns the Template configuration hash.
template
Returns a cached Template object.
template_vars
Returns the template variables generated by scanning the Model.