|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.calfater.mailcarbon.binding.Server
public class Server
Class Server.
| Constructor Summary | |
|---|---|
Server()
|
|
| Method Summary | |
|---|---|
void |
deletePort()
|
File |
getFile()
Returns the value of field 'file'. |
java.lang.String |
getHost()
Returns the value of field 'host'. |
java.lang.String |
getPassword()
Returns the value of field 'password'. |
long |
getPort()
Returns the value of field 'port'. |
java.lang.String |
getProtocol()
Returns the value of field 'protocol'. |
java.lang.String |
getUsername()
Returns the value of field 'username'. |
boolean |
hasPort()
Method hasPort. |
boolean |
isValid()
Method isValid. |
void |
marshal(org.xml.sax.ContentHandler handler)
|
void |
marshal(java.io.Writer out)
|
void |
setFile(File file)
Sets the value of field 'file'. |
void |
setHost(java.lang.String host)
Sets the value of field 'host'. |
void |
setPassword(java.lang.String password)
Sets the value of field 'password'. |
void |
setPort(long port)
Sets the value of field 'port'. |
void |
setProtocol(java.lang.String protocol)
Sets the value of field 'protocol'. |
void |
setUsername(java.lang.String username)
Sets the value of field 'username'. |
static Server |
unmarshal(java.io.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 Server()
| Method Detail |
|---|
public void deletePort()
public File getFile()
public java.lang.String getHost()
public java.lang.String getPassword()
public long getPort()
public java.lang.String getProtocol()
public java.lang.String getUsername()
public boolean hasPort()
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 marshaling
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
public 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
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 setFile(File file)
file - the value of field 'file'.public void setHost(java.lang.String host)
host - the value of field 'host'.public void setPassword(java.lang.String password)
password - the value of field 'password'.public void setPort(long port)
port - the value of field 'port'.public void setProtocol(java.lang.String protocol)
protocol - the value of field 'protocol'.public void setUsername(java.lang.String username)
username - the value of field 'username'.
public static Server 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 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 | |||||||||