public class ReadmailProtocol extends Object implements Serializable
Constructor and Description |
---|
ReadmailProtocol() |
ReadmailProtocol(String transport,
Boolean sslEnable,
Boolean startTls) |
Modifier and Type | Method and Description |
---|---|
void |
deleteSslEnable() |
void |
deleteStartTls() |
boolean |
equals(Object obj)
Overrides the Object.equals method.
|
Boolean |
getSslEnable()
Returns the value of field 'sslEnable'.
|
Boolean |
getStartTls()
Returns the value of field 'startTls'.
|
String |
getTransport()
Returns the value of field 'transport'.
|
int |
hashCode()
Overrides the Object.hashCode method.
|
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() |
public void deleteSslEnable()
public void deleteStartTls()
public boolean equals(Object obj)
public Boolean getSslEnable()
public Boolean getStartTls()
public String getTransport()
public boolean hasSslEnable()
public boolean hasStartTls()
public int hashCode()
The following steps came from Effective Java Programming Language Guide by Joshua Bloch, Chapter 3
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 marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemapublic void marshal(ContentHandler handler) throws IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
handler
- 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 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 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 © 2017. All rights reserved.