org.opends.server.extensions
Class NotificationMessageTemplateElement

java.lang.Object
  extended by org.opends.server.extensions.NotificationMessageTemplateElement
Direct Known Subclasses:
NotificationMessageNotificationMessageTemplateElement, NotificationPropertyNotificationMessageTemplateElement, NotificationTypeNotificationMessageTemplateElement, TextNotificationMessageTemplateElement, UserAttributeNotificationMessageTemplateElement, UserDNNotificationMessageTemplateElement

public abstract class NotificationMessageTemplateElement
extends java.lang.Object

This class defines the base class for elements that may be used to generate an account status notification message.


Constructor Summary
NotificationMessageTemplateElement()
           
 
Method Summary
abstract  void generateValue(MessageBuilder buffer, AccountStatusNotification notification)
          Generates a value for this template element using the information contained in the provided account status notification and appends it to the given buffer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotificationMessageTemplateElement

public NotificationMessageTemplateElement()
Method Detail

generateValue

public abstract void generateValue(MessageBuilder buffer,
                                   AccountStatusNotification notification)
Generates a value for this template element using the information contained in the provided account status notification and appends it to the given buffer.

Parameters:
buffer - The buffer to which the generated value should be appended.
notification - The account status notification to process.