com.atlassian.confluence.util
Class TemplateSupport

java.lang.Object
  extended by com.atlassian.confluence.util.TemplateSupport

public final class TemplateSupport
extends java.lang.Object

Author:
Armond Avanes (armond555@yahoo.com)

Constructor Summary
TemplateSupport(ThemeManager themeManager, java.lang.String template_extension)
           
 
Method Summary
static java.lang.String classToTemplatePath(java.lang.Class klass)
           
 java.lang.Object getFromContext(java.lang.String key)
           
 void processTemplate(java.lang.Object obj, java.io.Writer output)
           
 void putInContext(java.lang.String key, java.lang.Object model_obj)
           
 void setExportChildren(boolean exportChildren)
           
 void setOutputMimeType(java.lang.String mimeType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TemplateSupport

public TemplateSupport(ThemeManager themeManager,
                       java.lang.String template_extension)
Method Detail

setOutputMimeType

public void setOutputMimeType(java.lang.String mimeType)

putInContext

public void putInContext(java.lang.String key,
                         java.lang.Object model_obj)

getFromContext

public java.lang.Object getFromContext(java.lang.String key)

processTemplate

public void processTemplate(java.lang.Object obj,
                            java.io.Writer output)
                     throws java.lang.Exception
Throws:
java.lang.Exception

classToTemplatePath

public static java.lang.String classToTemplatePath(java.lang.Class klass)

setExportChildren

public void setExportChildren(boolean exportChildren)


Copyright © 2003-2014 Atlassian. All Rights Reserved.