org.openmrs.notification.mail.velocity
Class VelocityMessagePreparator

java.lang.Object
  extended by org.openmrs.notification.mail.velocity.VelocityMessagePreparator
All Implemented Interfaces:
MessagePreparator

public class VelocityMessagePreparator
extends java.lang.Object
implements MessagePreparator


Constructor Summary
VelocityMessagePreparator()
          Public constructor TODO: needs better error handling
 
Method Summary
 Message prepare(Template template)
          Prepare a message using a template.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VelocityMessagePreparator

public VelocityMessagePreparator()
                          throws MessageException
Public constructor TODO: needs better error handling

Throws:
MessageException
Method Detail

prepare

public Message prepare(Template template)
                throws MessageException
Description copied from interface: MessagePreparator
Prepare a message using a template.

Specified by:
prepare in interface MessagePreparator
Returns:
the prepared Message
Throws:
MessageException

OpenMRS-1.7.x

Generated Apr 27 2012 10:06 PM. NOTE - these libraries are in active development and subject to change