public class PreviewContent
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
PreviewContent() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getFromAddress()
Returns the value of field 'fromAddress'.
|
java.lang.String |
getFromName()
Returns the value of field 'fromName'.
|
java.lang.String |
getHtmlContent()
Returns the value of field 'htmlContent'.
|
java.lang.String |
getOnBehalfOfAddress()
Returns the value of field 'onBehalfOfAddress'.
|
java.lang.String |
getOnBehalfOfName()
Returns the value of field 'onBehalfOfName'.
|
java.lang.String |
getReplyToAddress()
Returns the value of field 'replyToAddress'.
|
SpamAssassinReport |
getSpamAssassinReport()
Returns the value of field 'spamAssassinReport'.
|
java.lang.String |
getSubjectLine()
Returns the value of field 'subjectLine'.
|
java.lang.String |
getTextContent()
Returns the value of field 'textContent'.
|
boolean |
isValid()
Method isValid.
|
void |
marshal(org.xml.sax.ContentHandler handler) |
void |
marshal(java.io.Writer out) |
void |
setFromAddress(java.lang.String fromAddress)
Sets the value of field 'fromAddress'.
|
void |
setFromName(java.lang.String fromName)
Sets the value of field 'fromName'.
|
void |
setHtmlContent(java.lang.String htmlContent)
Sets the value of field 'htmlContent'.
|
void |
setOnBehalfOfAddress(java.lang.String onBehalfOfAddress)
Sets the value of field 'onBehalfOfAddress'.
|
void |
setOnBehalfOfName(java.lang.String onBehalfOfName)
Sets the value of field 'onBehalfOfName'.
|
void |
setReplyToAddress(java.lang.String replyToAddress)
Sets the value of field 'replyToAddress'.
|
void |
setSpamAssassinReport(SpamAssassinReport spamAssassinReport)
Sets the value of field 'spamAssassinReport'.
|
void |
setSubjectLine(java.lang.String subjectLine)
Sets the value of field 'subjectLine'.
|
void |
setTextContent(java.lang.String textContent)
Sets the value of field 'textContent'.
|
static PreviewContent |
unmarshal(java.io.Reader reader)
Method unmarshal.
|
void |
validate() |
public java.lang.String getFromAddress()
public java.lang.String getFromName()
public java.lang.String getHtmlContent()
public java.lang.String getOnBehalfOfAddress()
public java.lang.String getOnBehalfOfName()
public java.lang.String getReplyToAddress()
public SpamAssassinReport getSpamAssassinReport()
public java.lang.String getSubjectLine()
public java.lang.String getTextContent()
public boolean isValid()
public void marshal(java.io.Writer out)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
out - org.exolab.castor.xml.MarshalException - if object is
null or if any SAXException is thrown during marshalingorg.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schemapublic void marshal(org.xml.sax.ContentHandler handler)
throws java.io.IOException,
org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
handler - java.io.IOException - if an IOException occurs during
marshalingorg.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schemaorg.exolab.castor.xml.MarshalException - if object is
null or if any SAXException is thrown during marshalingpublic void setFromAddress(java.lang.String fromAddress)
fromAddress - the value of field 'fromAddress'.public void setFromName(java.lang.String fromName)
fromName - the value of field 'fromName'.public void setHtmlContent(java.lang.String htmlContent)
htmlContent - the value of field 'htmlContent'.public void setOnBehalfOfAddress(java.lang.String onBehalfOfAddress)
onBehalfOfAddress - the value of field
'onBehalfOfAddress'.public void setOnBehalfOfName(java.lang.String onBehalfOfName)
onBehalfOfName - the value of field 'onBehalfOfName'.public void setReplyToAddress(java.lang.String replyToAddress)
replyToAddress - the value of field 'replyToAddress'.public void setSpamAssassinReport(SpamAssassinReport spamAssassinReport)
spamAssassinReport - the value of field
'spamAssassinReport'.public void setSubjectLine(java.lang.String subjectLine)
subjectLine - the value of field 'subjectLine'.public void setTextContent(java.lang.String textContent)
textContent - the value of field 'textContent'.public static PreviewContent unmarshal(java.io.Reader reader) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
reader - org.exolab.castor.xml.MarshalException - if object is
null or if any SAXException is thrown during marshalingorg.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schemapublic void validate()
throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schemaCopyright © 2016. All Rights Reserved.