public class XmpConfig extends Object implements Serializable
Constructor and Description |
---|
XmpConfig() |
Modifier and Type | Method and Description |
---|---|
void |
deletePort() |
void |
deleteRetry() |
void |
deleteTimeout() |
boolean |
equals(Object obj)
Overrides the java.lang.Object.equals method.
|
String |
getAuthenUser()
Returns the value of field 'authenUser'.
|
int |
getPort()
Returns the value of field 'port'.
|
int |
getRetry()
Returns the value of field 'retry'.
|
int |
getTimeout()
Returns the value of field 'timeout'.
|
int |
hashCode()
Overrides the java.lang.Object.hashCode method.
|
boolean |
hasPort()
Method hasPort.
|
boolean |
hasRetry()
Method hasRetry.
|
boolean |
hasTimeout()
Method hasTimeout.
|
boolean |
isValid()
Method isValid.
|
void |
marshal(ContentHandler handler) |
void |
marshal(Writer out) |
void |
setAuthenUser(String authenUser)
Sets the value of field 'authenUser'.
|
void |
setPort(int port)
Sets the value of field 'port'.
|
void |
setRetry(int retry)
Sets the value of field 'retry'.
|
void |
setTimeout(int timeout)
Sets the value of field 'timeout'.
|
static XmpConfig |
unmarshal(Reader reader)
Method unmarshal.
|
void |
validate() |
public void deletePort()
public void deleteRetry()
public void deleteTimeout()
public boolean equals(Object obj)
public String getAuthenUser()
public int getPort()
public int getRetry()
public int getTimeout()
public boolean hasPort()
public boolean hasRetry()
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 setAuthenUser(String authenUser)
authenUser
- the value of field 'authenUser'.public void setPort(int port)
port
- the value of field 'port'.public void setRetry(int retry)
retry
- the value of field 'retry'.public void setTimeout(int timeout)
timeout
- the value of field 'timeout'.public static XmpConfig 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.