public class BaseUrl extends Object implements Serializable
Constructor and Description |
---|
BaseUrl() |
Modifier and Type | Method and Description |
---|---|
void |
deleteTimeout() |
boolean |
equals(Object obj)
Overrides the java.lang.Object.equals method.
|
String |
getDirectory()
Returns the value of field 'directory'.
|
String |
getPassword()
Returns the value of field 'password'.
|
String |
getServer_url()
Returns the value of field 'server_url'.
|
int |
getTimeout()
Returns the value of field 'timeout'.
|
String |
getUsername()
Returns the value of field 'username'.
|
int |
hashCode()
Overrides the java.lang.Object.hashCode method.
|
boolean |
hasTimeout()
Method hasTimeout.
|
boolean |
isValid()
Method isValid.
|
void |
marshal(ContentHandler handler) |
void |
marshal(Writer out) |
void |
setDirectory(String directory)
Sets the value of field 'directory'.
|
void |
setPassword(String password)
Sets the value of field 'password'.
|
void |
setServer_url(String server_url)
Sets the value of field 'server_url'.
|
void |
setTimeout(int timeout)
Sets the value of field 'timeout'.
|
void |
setUsername(String username)
Sets the value of field 'username'.
|
static BaseUrl |
unmarshal(Reader reader)
Method unmarshal.
|
void |
validate() |
public void deleteTimeout()
public boolean equals(Object obj)
public String getDirectory()
public String getPassword()
public String getServer_url()
public int getTimeout()
public String getUsername()
public boolean hasTimeout()
public int hashCode()
The following steps came from Effective Java Programming Language Guide by Joshua Bloch, Chapter 3
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 setDirectory(String directory)
directory
- the value of field 'directory'.public void setPassword(String password)
password
- the value of field 'password'.public void setServer_url(String server_url)
server_url
- the value of field 'server_url'.public void setTimeout(int timeout)
timeout
- the value of field 'timeout'.public void setUsername(String username)
username
- the value of field 'username'.public static BaseUrl 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.