br.com.ibnetwork.guara.view.impl
Class NullTemplateEngine

java.lang.Object
  extended by br.com.ibnetwork.guara.view.impl.NullTemplateEngine
All Implemented Interfaces:
TemplateEngine

public class NullTemplateEngine
extends java.lang.Object
implements TemplateEngine


Field Summary
 
Fields inherited from interface br.com.ibnetwork.guara.view.TemplateEngine
ROLE
 
Method Summary
 Context createContext()
           
 java.lang.String getEncoding()
           
 java.lang.String getOnErrorTemplate()
           
 java.lang.String getTemplateExtension()
           
static TemplateEngine instance()
           
 void merge(java.lang.String templateName, Context context, java.io.Writer writer)
           
 boolean templateExists(java.lang.String templateName)
           
 java.lang.String toFileName(java.lang.String templateName)
           
 java.lang.String toTemplateName(java.lang.String templateName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

instance

public static TemplateEngine instance()

merge

public void merge(java.lang.String templateName,
                  Context context,
                  java.io.Writer writer)
           throws TemplateEngineException
Specified by:
merge in interface TemplateEngine
Throws:
TemplateEngineException

templateExists

public boolean templateExists(java.lang.String templateName)
                       throws TemplateEngineException
Specified by:
templateExists in interface TemplateEngine
Throws:
TemplateEngineException

createContext

public Context createContext()
                      throws TemplateEngineException
Specified by:
createContext in interface TemplateEngine
Throws:
TemplateEngineException

getTemplateExtension

public java.lang.String getTemplateExtension()
Specified by:
getTemplateExtension in interface TemplateEngine

getEncoding

public java.lang.String getEncoding()
Specified by:
getEncoding in interface TemplateEngine

getOnErrorTemplate

public java.lang.String getOnErrorTemplate()
Specified by:
getOnErrorTemplate in interface TemplateEngine

toTemplateName

public java.lang.String toTemplateName(java.lang.String templateName)
Specified by:
toTemplateName in interface TemplateEngine

toFileName

public java.lang.String toFileName(java.lang.String templateName)
Specified by:
toFileName in interface TemplateEngine


Copyright © 1999-2006 InterBusiness Technologies. All Rights Reserved.