public class SpamAssassinReport
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
SpamAssassinReport() |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteRequired() |
void |
deleteScore() |
void |
deleteSpam() |
double |
getRequired()
Returns the value of field 'required'.
|
double |
getScore()
Returns the value of field 'score'.
|
boolean |
getSpam()
Returns the value of field 'spam'.
|
SpamAssassinRules |
getSpamAssassinRules()
Returns the value of field 'spamAssassinRules'.
|
boolean |
hasRequired()
Method hasRequired.
|
boolean |
hasScore()
Method hasScore.
|
boolean |
hasSpam()
Method hasSpam.
|
boolean |
isSpam()
Returns the value of field 'spam'.
|
boolean |
isValid()
Method isValid.
|
void |
marshal(org.xml.sax.ContentHandler handler) |
void |
marshal(java.io.Writer out) |
void |
setRequired(double required)
Sets the value of field 'required'.
|
void |
setScore(double score)
Sets the value of field 'score'.
|
void |
setSpam(boolean spam)
Sets the value of field 'spam'.
|
void |
setSpamAssassinRules(SpamAssassinRules spamAssassinRules)
Sets the value of field 'spamAssassinRules'.
|
static SpamAssassinReport |
unmarshal(java.io.Reader reader)
Method unmarshal.
|
void |
validate() |
public void deleteRequired()
public void deleteScore()
public void deleteSpam()
public double getRequired()
public double getScore()
public boolean getSpam()
public SpamAssassinRules getSpamAssassinRules()
public boolean hasRequired()
public boolean hasScore()
public boolean hasSpam()
public boolean isSpam()
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 setRequired(double required)
required - the value of field 'required'.public void setScore(double score)
score - the value of field 'score'.public void setSpam(boolean spam)
spam - the value of field 'spam'.public void setSpamAssassinRules(SpamAssassinRules spamAssassinRules)
spamAssassinRules - the value of field
'spamAssassinRules'.public static SpamAssassinReport 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.