|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.config.mailtransporttest.ReadmailProtocol
public class ReadmailProtocol
Basically attributes that help setup the javamailer's confusion set of properties.
| Constructor Summary | |
|---|---|
ReadmailProtocol()
|
|
| Method Summary | |
|---|---|
void |
deleteSslEnable()
|
void |
deleteStartTls()
|
boolean |
getSslEnable()
Returns the value of field 'sslEnable'. |
boolean |
getStartTls()
Returns the value of field 'startTls'. |
String |
getTransport()
Returns the value of field 'transport'. |
boolean |
hasSslEnable()
Method hasSslEnable. |
boolean |
hasStartTls()
Method hasStartTls. |
boolean |
isSslEnable()
Returns the value of field 'sslEnable'. |
boolean |
isStartTls()
Returns the value of field 'startTls'. |
boolean |
isValid()
Method isValid. |
void |
marshal(ContentHandler handler)
|
void |
marshal(Writer out)
|
void |
setSslEnable(boolean sslEnable)
Sets the value of field 'sslEnable'. |
void |
setStartTls(boolean startTls)
Sets the value of field 'startTls'. |
void |
setTransport(String transport)
Sets the value of field 'transport'. |
static ReadmailProtocol |
unmarshal(Reader reader)
Method unmarshal. |
void |
validate()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ReadmailProtocol()
| Method Detail |
|---|
public void deleteSslEnable()
public void deleteStartTls()
public boolean getSslEnable()
public boolean getStartTls()
public String getTransport()
public boolean hasSslEnable()
public boolean hasStartTls()
public boolean isSslEnable()
public boolean isStartTls()
public boolean isValid()
public void marshal(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 marshaling
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
public void marshal(ContentHandler handler)
throws IOException,
org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
handler -
IOException - if an IOException occurs during
marshaling
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
org.exolab.castor.xml.MarshalException - if object is
null or if any SAXException is thrown during marshalingpublic void setSslEnable(boolean sslEnable)
sslEnable - the value of field 'sslEnable'.public void setStartTls(boolean startTls)
startTls - the value of field 'startTls'.public void setTransport(String transport)
transport - the value of field 'transport'.
public static ReadmailProtocol unmarshal(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 marshaling
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
public void validate()
throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||