public class XmlrpcdConfiguration extends Object implements Serializable
Constructor and Description |
---|
XmlrpcdConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
addExternalServers(ExternalServers vExternalServers) |
void |
addExternalServers(int index,
ExternalServers vExternalServers) |
void |
addSubscription(int index,
Subscription vSubscription) |
void |
addSubscription(Subscription vSubscription) |
void |
deleteGenericMsgs() |
void |
deleteMaxEventQueueSize() |
Enumeration<ExternalServers> |
enumerateExternalServers()
Method enumerateExternalServers.
|
Enumeration<Subscription> |
enumerateSubscription()
Method enumerateSubscription.
|
boolean |
equals(Object obj)
Overrides the java.lang.Object.equals method.
|
ExternalServers[] |
getExternalServers()
Method getExternalServers.Returns the contents of the
collection in an Array.
|
ExternalServers |
getExternalServers(int index)
Method getExternalServers.
|
List<ExternalServers> |
getExternalServersCollection()
Method getExternalServersCollection.Returns a reference to
'_externalServersList'.
|
int |
getExternalServersCount()
Method getExternalServersCount.
|
boolean |
getGenericMsgs()
Returns the value of field 'genericMsgs'.
|
int |
getMaxEventQueueSize()
Returns the value of field 'maxEventQueueSize'.
|
Subscription[] |
getSubscription()
Method getSubscription.Returns the contents of the
collection in an Array.
|
Subscription |
getSubscription(int index)
Method getSubscription.
|
List<Subscription> |
getSubscriptionCollection()
Method getSubscriptionCollection.Returns a reference to
'_subscriptionList'.
|
int |
getSubscriptionCount()
Method getSubscriptionCount.
|
boolean |
hasGenericMsgs()
Method hasGenericMsgs.
|
int |
hashCode()
Overrides the java.lang.Object.hashCode method.
|
boolean |
hasMaxEventQueueSize()
Method hasMaxEventQueueSize.
|
boolean |
isGenericMsgs()
Returns the value of field 'genericMsgs'.
|
boolean |
isValid()
Method isValid.
|
Iterator<ExternalServers> |
iterateExternalServers()
Method iterateExternalServers.
|
Iterator<Subscription> |
iterateSubscription()
Method iterateSubscription.
|
void |
marshal(ContentHandler handler) |
void |
marshal(Writer out) |
void |
removeAllExternalServers() |
void |
removeAllSubscription() |
boolean |
removeExternalServers(ExternalServers vExternalServers)
Method removeExternalServers.
|
ExternalServers |
removeExternalServersAt(int index)
Method removeExternalServersAt.
|
boolean |
removeSubscription(Subscription vSubscription)
Method removeSubscription.
|
Subscription |
removeSubscriptionAt(int index)
Method removeSubscriptionAt.
|
void |
setExternalServers(ExternalServers[] vExternalServersArray) |
void |
setExternalServers(int index,
ExternalServers vExternalServers) |
void |
setExternalServers(List<ExternalServers> vExternalServersList)
Sets the value of '_externalServersList' by copying the
given Vector.
|
void |
setExternalServersCollection(List<ExternalServers> externalServersList)
Deprecated.
|
void |
setGenericMsgs(boolean genericMsgs)
Sets the value of field 'genericMsgs'.
|
void |
setMaxEventQueueSize(int maxEventQueueSize)
Sets the value of field 'maxEventQueueSize'.
|
void |
setSubscription(int index,
Subscription vSubscription) |
void |
setSubscription(List<Subscription> vSubscriptionList)
Sets the value of '_subscriptionList' by copying the given
Vector.
|
void |
setSubscription(Subscription[] vSubscriptionArray) |
void |
setSubscriptionCollection(List<Subscription> subscriptionList)
Deprecated.
|
static XmlrpcdConfiguration |
unmarshal(Reader reader)
Method unmarshal.
|
void |
validate() |
public void addExternalServers(ExternalServers vExternalServers) throws IndexOutOfBoundsException
vExternalServers
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addExternalServers(int index, ExternalServers vExternalServers) throws IndexOutOfBoundsException
index
- vExternalServers
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addSubscription(Subscription vSubscription) throws IndexOutOfBoundsException
vSubscription
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addSubscription(int index, Subscription vSubscription) throws IndexOutOfBoundsException
index
- vSubscription
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void deleteGenericMsgs()
public void deleteMaxEventQueueSize()
public Enumeration<ExternalServers> enumerateExternalServers()
public Enumeration<Subscription> enumerateSubscription()
public boolean equals(Object obj)
public ExternalServers getExternalServers(int index) throws IndexOutOfBoundsException
index
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic ExternalServers[] getExternalServers()
Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.
public List<ExternalServers> getExternalServersCollection()
public int getExternalServersCount()
public boolean getGenericMsgs()
public int getMaxEventQueueSize()
public Subscription getSubscription(int index) throws IndexOutOfBoundsException
index
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic Subscription[] getSubscription()
Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.
public List<Subscription> getSubscriptionCollection()
public int getSubscriptionCount()
public boolean hasGenericMsgs()
public boolean hasMaxEventQueueSize()
public int hashCode()
The following steps came from Effective Java Programming Language Guide by Joshua Bloch, Chapter 3
public boolean isGenericMsgs()
public boolean isValid()
public Iterator<ExternalServers> iterateExternalServers()
public Iterator<Subscription> iterateSubscription()
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 removeAllExternalServers()
public void removeAllSubscription()
public boolean removeExternalServers(ExternalServers vExternalServers)
vExternalServers
- public ExternalServers removeExternalServersAt(int index)
index
- public boolean removeSubscription(Subscription vSubscription)
vSubscription
- public Subscription removeSubscriptionAt(int index)
index
- public void setExternalServers(int index, ExternalServers vExternalServers) throws IndexOutOfBoundsException
index
- vExternalServers
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setExternalServers(ExternalServers[] vExternalServersArray)
vExternalServersArray
- public void setExternalServers(List<ExternalServers> vExternalServersList)
vExternalServersList
- the Vector to copy.public void setExternalServersCollection(List<ExternalServers> externalServersList)
externalServersList
- the Vector to set.public void setGenericMsgs(boolean genericMsgs)
genericMsgs
- the value of field 'genericMsgs'.public void setMaxEventQueueSize(int maxEventQueueSize)
maxEventQueueSize
- the value of field
'maxEventQueueSize'.public void setSubscription(int index, Subscription vSubscription) throws IndexOutOfBoundsException
index
- vSubscription
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setSubscription(Subscription[] vSubscriptionArray)
vSubscriptionArray
- public void setSubscription(List<Subscription> vSubscriptionList)
vSubscriptionList
- the Vector to copy.public void setSubscriptionCollection(List<Subscription> subscriptionList)
subscriptionList
- the Vector to set.public static XmlrpcdConfiguration 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 © 2015. All rights reserved.