com.atlassian.confluence.util.velocity
Class VelocityUtils
java.lang.Object
com.atlassian.confluence.util.velocity.VelocityUtils
- Direct Known Subclasses:
- VelocityUtils
public class VelocityUtils
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VelocityUtils
public VelocityUtils()
getRenderedTemplate
public static java.lang.String getRenderedTemplate(java.lang.String templateName,
java.util.Map contextMap)
getRenderedTemplate
public static java.lang.String getRenderedTemplate(java.lang.String templateName,
org.apache.velocity.context.Context context)
getRenderedTemplateWithoutSwallowingErrors
public static java.lang.String getRenderedTemplateWithoutSwallowingErrors(java.lang.String templateName,
java.util.Map contextMap)
throws java.lang.Exception
- Throws:
java.lang.Exception
getRenderedTemplateWithoutSwallowingErrors
public static java.lang.String getRenderedTemplateWithoutSwallowingErrors(java.lang.String templateName,
org.apache.velocity.context.Context context)
throws java.lang.Exception
- Throws:
java.lang.Exception
getTemplate
public static org.apache.velocity.Template getTemplate(java.lang.String templateName)
throws java.lang.Exception
- Throws:
java.lang.Exception
getVelocityEngine
public static org.apache.velocity.app.VelocityEngine getVelocityEngine()
throws java.lang.Exception
- Throws:
java.lang.Exception
getRenderedContent
public static java.lang.String getRenderedContent(java.lang.String templateContent,
java.util.Map contextMap)
Copyright © 2003-2008 Atlassian Pty Ltd. All Rights Reserved.