org.jcoderz.phoenix.templategen
Class Template

java.lang.Object
  extended by org.jcoderz.phoenix.templategen.Template

public class Template
extends Object

Author:
Albrecht Messner

Field Summary
static char PARAM_END
           
static String PARAM_END_ESCAPED
           
static String PARAM_START
           
static String PARAM_START_ESCAPED
           
 
Constructor Summary
Template(String sourceName, String templateString)
           
 
Method Summary
 Set getParameters()
           
 String getSourceName()
           
 String getTargetName()
           
 String parametrize(Map map)
           
 String parametrizeTarget(Map map)
           
 void setTargetName(String targetName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PARAM_START

public static final String PARAM_START
See Also:
Constant Field Values

PARAM_START_ESCAPED

public static final String PARAM_START_ESCAPED
See Also:
Constant Field Values

PARAM_END

public static final char PARAM_END
See Also:
Constant Field Values

PARAM_END_ESCAPED

public static final String PARAM_END_ESCAPED
See Also:
Constant Field Values
Constructor Detail

Template

public Template(String sourceName,
                String templateString)
Method Detail

getSourceName

public String getSourceName()

getTargetName

public String getTargetName()

setTargetName

public void setTargetName(String targetName)

getParameters

public Set getParameters()

parametrizeTarget

public String parametrizeTarget(Map map)
                         throws TemplateGeneratorException
Throws:
TemplateGeneratorException

parametrize

public String parametrize(Map map)
                   throws TemplateGeneratorException
Throws:
TemplateGeneratorException


Copyright 2007 The jCoderZ Project.