org.openarchitectureware.compiler.helpers
Class TemplateHelper

java.lang.Object
  extended by org.openarchitectureware.compiler.helpers.TemplateHelper

public class TemplateHelper
extends java.lang.Object

Helper methods used as JAVA extensions for the processing of template definition calls


Constructor Summary
TemplateHelper()
           
 
Method Summary
static java.lang.String definitionName(java.lang.String definition)
           
static java.util.List<java.lang.String> getCandidateFqns(java.lang.String name, Template curTemplate)
           
static java.lang.String getTemplateFqn(java.lang.String templateName, Template curTemplate)
           
static java.lang.String templateClassName(java.lang.String definition, TemplateContext tctx)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TemplateHelper

public TemplateHelper()
Method Detail

templateClassName

public static java.lang.String templateClassName(java.lang.String definition,
                                                 TemplateContext tctx)

getTemplateFqn

public static java.lang.String getTemplateFqn(java.lang.String templateName,
                                              Template curTemplate)

getCandidateFqns

public static java.util.List<java.lang.String> getCandidateFqns(java.lang.String name,
                                                                Template curTemplate)

definitionName

public static java.lang.String definitionName(java.lang.String definition)