org.opennms.netmgt.config.xmlrpcd
Class XmlrpcdConfiguration

java.lang.Object
  extended by org.opennms.netmgt.config.xmlrpcd.XmlrpcdConfiguration
All Implemented Interfaces:
Serializable

public class XmlrpcdConfiguration
extends Object
implements Serializable

Top-level element for the xmlrpcd-configuration.xml configuration file.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
XmlrpcdConfiguration()
           
 
Method Summary
 void deleteMaxEventQueueSize()
           
 ExternalServers getExternalServers()
          Returns the value of field 'externalServers'.
 int getMaxEventQueueSize()
          Returns the value of field 'maxEventQueueSize'.
 Subscription getSubscription()
          Returns the value of field 'subscription'.
 boolean hasMaxEventQueueSize()
          Method hasMaxEventQueueSize.
 boolean isValid()
          Method isValid.
 void marshal(ContentHandler handler)
           
 void marshal(Writer out)
           
 void setExternalServers(ExternalServers externalServers)
          Sets the value of field 'externalServers'.
 void setMaxEventQueueSize(int maxEventQueueSize)
          Sets the value of field 'maxEventQueueSize'.
 void setSubscription(Subscription subscription)
          Sets the value of field 'subscription'.
static XmlrpcdConfiguration 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

XmlrpcdConfiguration

public XmlrpcdConfiguration()
Method Detail

deleteMaxEventQueueSize

public void deleteMaxEventQueueSize()

getExternalServers

public ExternalServers getExternalServers()
Returns the value of field 'externalServers'. The field 'externalServers' has the following description: Configuration of external XMLRPC servers

Returns:
the value of field 'ExternalServers'.

getMaxEventQueueSize

public int getMaxEventQueueSize()
Returns the value of field 'maxEventQueueSize'. The field 'maxEventQueueSize' has the following description: Maximum size of the event queue

Returns:
the value of field 'MaxEventQueueSize'.

getSubscription

public Subscription getSubscription()
Returns the value of field 'subscription'. The field 'subscription' has the following description: Events subscribed by the external XMLRPC servers

Returns:
the value of field 'Subscription'.

hasMaxEventQueueSize

public boolean hasMaxEventQueueSize()
Method hasMaxEventQueueSize.

Returns:
true if at least one MaxEventQueueSize has been added

isValid

public boolean isValid()
Method isValid.

Returns:
true if this object is valid according to the schema

marshal

public void marshal(Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
out -
Throws:
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

marshal

public void marshal(ContentHandler handler)
             throws IOException,
                    org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
handler -
Throws:
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 marshaling

setExternalServers

public void setExternalServers(ExternalServers externalServers)
Sets the value of field 'externalServers'. The field 'externalServers' has the following description: Configuration of external XMLRPC servers

Parameters:
externalServers - the value of field 'externalServers'.

setMaxEventQueueSize

public void setMaxEventQueueSize(int maxEventQueueSize)
Sets the value of field 'maxEventQueueSize'. The field 'maxEventQueueSize' has the following description: Maximum size of the event queue

Parameters:
maxEventQueueSize - the value of field 'maxEventQueueSize'.

setSubscription

public void setSubscription(Subscription subscription)
Sets the value of field 'subscription'. The field 'subscription' has the following description: Events subscribed by the external XMLRPC servers

Parameters:
subscription - the value of field 'subscription'.

unmarshal

public static XmlrpcdConfiguration unmarshal(Reader reader)
                                      throws org.exolab.castor.xml.MarshalException,
                                             org.exolab.castor.xml.ValidationException
Method unmarshal.

Parameters:
reader -
Returns:
the unmarshaled org.opennms.netmgt.config.xmlrpcd.XmlrpcdConfiguration
Throws:
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

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
Throws:
org.exolab.castor.xml.ValidationException - if this object is an invalid instance according to the schema


Copyright ? 2008. All Rights Reserved.