com.atlassian.confluence.plugin.services
Class DefaultVelocityHelperService

java.lang.Object
  extended by com.atlassian.confluence.plugin.services.DefaultVelocityHelperService
All Implemented Interfaces:
VelocityHelperService

public class DefaultVelocityHelperService
extends Object
implements VelocityHelperService


Constructor Summary
DefaultVelocityHelperService()
           
 
Method Summary
 Map<String,Object> createDefaultVelocityContext()
           
 String getRenderedContent(String templateContent, Map<String,?> context)
           
 String getRenderedTemplate(String templateName, Map<String,?> context)
           
 String getRenderedTemplateWithoutSwallowingErrors(String templateName, Map<String,?> context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultVelocityHelperService

public DefaultVelocityHelperService()
Method Detail

getRenderedTemplate

public String getRenderedTemplate(String templateName,
                                  Map<String,?> context)
Specified by:
getRenderedTemplate in interface VelocityHelperService

getRenderedTemplateWithoutSwallowingErrors

public String getRenderedTemplateWithoutSwallowingErrors(String templateName,
                                                         Map<String,?> context)
                                                  throws Exception
Specified by:
getRenderedTemplateWithoutSwallowingErrors in interface VelocityHelperService
Throws:
Exception

getRenderedContent

public String getRenderedContent(String templateContent,
                                 Map<String,?> context)
Specified by:
getRenderedContent in interface VelocityHelperService

createDefaultVelocityContext

public Map<String,Object> createDefaultVelocityContext()
Specified by:
createDefaultVelocityContext in interface VelocityHelperService


Copyright © 2003-2013 Atlassian. All Rights Reserved.