public class SpamAssassinRules
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
SpamAssassinRules() |
| Modifier and Type | Method and Description |
|---|---|
void |
addSpamAssassinRule(int index,
SpamAssassinRule vSpamAssassinRule) |
void |
addSpamAssassinRule(SpamAssassinRule vSpamAssassinRule) |
java.util.Enumeration<? extends SpamAssassinRule> |
enumerateSpamAssassinRule()
Method enumerateSpamAssassinRule.
|
SpamAssassinRule[] |
getSpamAssassinRule()
Method getSpamAssassinRule.Returns the contents of the
collection in an Array.
|
SpamAssassinRule |
getSpamAssassinRule(int index)
Method getSpamAssassinRule.
|
int |
getSpamAssassinRuleCount()
Method getSpamAssassinRuleCount.
|
boolean |
isValid()
Method isValid.
|
java.util.Iterator<? extends SpamAssassinRule> |
iterateSpamAssassinRule()
Method iterateSpamAssassinRule.
|
void |
marshal(org.xml.sax.ContentHandler handler) |
void |
marshal(java.io.Writer out) |
void |
removeAllSpamAssassinRule() |
boolean |
removeSpamAssassinRule(SpamAssassinRule vSpamAssassinRule)
Method removeSpamAssassinRule.
|
SpamAssassinRule |
removeSpamAssassinRuleAt(int index)
Method removeSpamAssassinRuleAt.
|
void |
setSpamAssassinRule(int index,
SpamAssassinRule vSpamAssassinRule) |
void |
setSpamAssassinRule(SpamAssassinRule[] vSpamAssassinRuleArray) |
static SpamAssassinRules |
unmarshal(java.io.Reader reader)
Method unmarshal.
|
void |
validate() |
public void addSpamAssassinRule(SpamAssassinRule vSpamAssassinRule) throws java.lang.IndexOutOfBoundsException
vSpamAssassinRule - java.lang.IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void addSpamAssassinRule(int index,
SpamAssassinRule vSpamAssassinRule)
throws java.lang.IndexOutOfBoundsException
index - vSpamAssassinRule - java.lang.IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic java.util.Enumeration<? extends SpamAssassinRule> enumerateSpamAssassinRule()
public SpamAssassinRule getSpamAssassinRule(int index) throws java.lang.IndexOutOfBoundsException
index - java.lang.IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic SpamAssassinRule[] getSpamAssassinRule()
Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.
public int getSpamAssassinRuleCount()
public boolean isValid()
public java.util.Iterator<? extends SpamAssassinRule> iterateSpamAssassinRule()
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 removeAllSpamAssassinRule()
public boolean removeSpamAssassinRule(SpamAssassinRule vSpamAssassinRule)
vSpamAssassinRule - public SpamAssassinRule removeSpamAssassinRuleAt(int index)
index - public void setSpamAssassinRule(int index,
SpamAssassinRule vSpamAssassinRule)
throws java.lang.IndexOutOfBoundsException
index - vSpamAssassinRule - java.lang.IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void setSpamAssassinRule(SpamAssassinRule[] vSpamAssassinRuleArray)
vSpamAssassinRuleArray - public static SpamAssassinRules 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.