ERMailDeliveryHTML Class Reference

Inherits er::javamail::ERMailDeliveryComponentBased.

Collaboration diagram for ERMailDeliveryHTML:

Collaboration graph
[legend]

List of all members.

Classes

class  DefaultFactory
interface  Factory

Public Member Functions

void newMail ()
void setHiddenPlainTextContent (String content)
void setHTMLContent (String content)

Static Public Member Functions

static Factory factory ()
static ERMailDeliveryHTML newMailDelivery ()
static void setFactory (Factory value)

Protected Member Functions

String htmlContent ()
DataHandler prepareMail () throws MessagingException

Protected Attributes

String _htmlContent

Static Protected Attributes

static Factory factory

Private Attributes

String _hiddenPlainTextContent


Detailed Description

This ERMailDelivery subclass is specifically crafted for HTML messages using a WOComponent as rendering device.

Author:
Camille Troillard <tuscland@mac.com>

Member Function Documentation

static Factory factory (  )  [static]

Gets the current factory. If the factory is unset, sets it to the default factory.

Returns:
the current factory

String htmlContent (  )  [protected]

void newMail (  ) 

Creates a new mail instance within ERMailDelivery. Sets hasHiddenPlainTextContent to false.

Reimplemented from ERMailDelivery.

static ERMailDeliveryHTML newMailDelivery (  )  [static]

DataHandler prepareMail (  )  throws MessagingException [protected, virtual]

Pre-processes the mail before it gets sent.

See also:
ERMailDelivery.prepareMail

Implements ERMailDelivery.

static void setFactory ( Factory  value  )  [static]

Sets the factory.

Parameters:
value the factory to use

void setHiddenPlainTextContent ( String  content  ) 

Sets the Plain text preamble that will be displayed set in top of HTML source. Non-HTML compliant mail readers can at least display this message.

void setHTMLContent ( String  content  ) 

Sets the HTML content. Note that if you set the WOComponent to be used when rendering the message this content will be ignored.

Parameters:
content HTML content to be used


Member Data Documentation

Plain text preamble set in top of HTML source so that non-HTML compliant mail readers can at least display this message.

String _htmlContent [protected]

Holds the HTML content

Factory factory [static, protected]


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:43:22 2012 for Project Wonder by  doxygen 1.5.8