com.atlassian.velocity
Class DefaultVelocityManager

java.lang.Object
  extended by com.atlassian.velocity.DefaultVelocityManager
All Implemented Interfaces:
VelocityManager

public class DefaultVelocityManager
extends Object
implements VelocityManager


Constructor Summary
DefaultVelocityManager()
           
 
Method Summary
 String getBody(String templateDirectory, String template, Map contextParameters)
           
 String getBody(String templateDirectory, String template, String baseurl, Map contextParameters)
           
 DateFormat getDateFormat()
           
 String getEncodedBody(String templateDirectory, String template, String encoding, Map contextParameters)
           
 String getEncodedBody(String templateDirectory, String template, String baseurl, String encoding, Map contextParameters)
           
 String getEncodedBodyForContent(String content, String baseurl, Map contextParameters)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultVelocityManager

public DefaultVelocityManager()
Method Detail

getBody

public String getBody(String templateDirectory,
                      String template,
                      Map contextParameters)
               throws VelocityException
Specified by:
getBody in interface VelocityManager
Throws:
VelocityException

getBody

public String getBody(String templateDirectory,
                      String template,
                      String baseurl,
                      Map contextParameters)
               throws VelocityException
Specified by:
getBody in interface VelocityManager
Throws:
VelocityException

getEncodedBody

public String getEncodedBody(String templateDirectory,
                             String template,
                             String encoding,
                             Map contextParameters)
                      throws VelocityException
Specified by:
getEncodedBody in interface VelocityManager
Throws:
VelocityException

getEncodedBody

public String getEncodedBody(String templateDirectory,
                             String template,
                             String baseurl,
                             String encoding,
                             Map contextParameters)
                      throws VelocityException
Specified by:
getEncodedBody in interface VelocityManager
Throws:
VelocityException

getEncodedBodyForContent

public String getEncodedBodyForContent(String content,
                                       String baseurl,
                                       Map contextParameters)
                                throws VelocityException
Specified by:
getEncodedBodyForContent in interface VelocityManager
Throws:
VelocityException

getDateFormat

public DateFormat getDateFormat()
Specified by:
getDateFormat in interface VelocityManager


Atlassian Velocity is developed by Atlassian Software Systems.