com.atlassian.confluence.plugin.services
Interface VelocityHelperService

All Known Implementing Classes:
DefaultVelocityHelperService

public interface VelocityHelperService


Method Summary
 java.util.Map<java.lang.String,java.lang.Object> createDefaultVelocityContext()
           
 java.lang.String getRenderedContent(java.lang.String templateContent, java.util.Map<java.lang.String,?> context)
           
 java.lang.String getRenderedTemplate(java.lang.String templateName, java.util.Map<java.lang.String,?> context)
           
 java.lang.String getRenderedTemplateWithoutSwallowingErrors(java.lang.String templateName, java.util.Map<java.lang.String,?> context)
           
 

Method Detail

getRenderedTemplate

java.lang.String getRenderedTemplate(java.lang.String templateName,
                                     java.util.Map<java.lang.String,?> context)

getRenderedTemplateWithoutSwallowingErrors

java.lang.String getRenderedTemplateWithoutSwallowingErrors(java.lang.String templateName,
                                                            java.util.Map<java.lang.String,?> context)
                                                            throws java.lang.Exception
Throws:
java.lang.Exception

getRenderedContent

java.lang.String getRenderedContent(java.lang.String templateContent,
                                    java.util.Map<java.lang.String,?> context)

createDefaultVelocityContext

java.util.Map<java.lang.String,java.lang.Object> createDefaultVelocityContext()


Copyright © 2003-2010 Atlassian. All Rights Reserved.