public class SpamAssassinRule
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
SpamAssassinRule() |
| Modifier and Type | Method and Description |
|---|---|
void |
deletePoints() |
java.lang.String |
getDescription()
Returns the value of field 'description'.
|
double |
getPoints()
Returns the value of field 'points'.
|
java.lang.String |
getRuleName()
Returns the value of field 'ruleName'.
|
boolean |
hasPoints()
Method hasPoints.
|
boolean |
isValid()
Method isValid.
|
void |
marshal(org.xml.sax.ContentHandler handler) |
void |
marshal(java.io.Writer out) |
void |
setDescription(java.lang.String description)
Sets the value of field 'description'.
|
void |
setPoints(double points)
Sets the value of field 'points'.
|
void |
setRuleName(java.lang.String ruleName)
Sets the value of field 'ruleName'.
|
static SpamAssassinRule |
unmarshal(java.io.Reader reader)
Method unmarshal.
|
void |
validate() |
public void deletePoints()
public java.lang.String getDescription()
public double getPoints()
public java.lang.String getRuleName()
public boolean hasPoints()
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 setDescription(java.lang.String description)
description - the value of field 'description'.public void setPoints(double points)
points - the value of field 'points'.public void setRuleName(java.lang.String ruleName)
ruleName - the value of field 'ruleName'.public static SpamAssassinRule 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.