|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.config.xmpConfig.XmpConfig
public class XmpConfig
Top-level element for the xmp-config.xml configuration file.
| Constructor Summary | |
|---|---|
XmpConfig()
|
|
| Method Summary | |
|---|---|
void |
deletePort()
|
void |
deleteRetry()
|
void |
deleteTimeout()
|
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'. |
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XmpConfig()
| Method Detail |
|---|
public void deletePort()
public void deleteRetry()
public void deleteTimeout()
public String getAuthenUser()
public int getPort()
public int getRetry()
public int getTimeout()
public boolean hasPort()
public boolean hasRetry()
public boolean hasTimeout()
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 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 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 | ||||||||