public class RwsConfiguration extends Object implements Serializable
Constructor and Description |
---|
RwsConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
addStandbyUrl(int index,
StandbyUrl vStandbyUrl) |
void |
addStandbyUrl(StandbyUrl vStandbyUrl) |
Enumeration<StandbyUrl> |
enumerateStandbyUrl()
Method enumerateStandbyUrl.
|
boolean |
equals(Object obj)
Overrides the java.lang.Object.equals method.
|
BaseUrl |
getBaseUrl()
Returns the value of field 'baseUrl'.
|
StandbyUrl[] |
getStandbyUrl()
Method getStandbyUrl.Returns the contents of the collection
in an Array.
|
StandbyUrl |
getStandbyUrl(int index)
Method getStandbyUrl.
|
List<StandbyUrl> |
getStandbyUrlCollection()
Method getStandbyUrlCollection.Returns a reference to
'_standbyUrlList'.
|
int |
getStandbyUrlCount()
Method getStandbyUrlCount.
|
int |
hashCode()
Overrides the java.lang.Object.hashCode method.
|
boolean |
isValid()
Method isValid.
|
Iterator<StandbyUrl> |
iterateStandbyUrl()
Method iterateStandbyUrl.
|
void |
marshal(ContentHandler handler) |
void |
marshal(Writer out) |
void |
removeAllStandbyUrl() |
boolean |
removeStandbyUrl(StandbyUrl vStandbyUrl)
Method removeStandbyUrl.
|
StandbyUrl |
removeStandbyUrlAt(int index)
Method removeStandbyUrlAt.
|
void |
setBaseUrl(BaseUrl baseUrl)
Sets the value of field 'baseUrl'.
|
void |
setStandbyUrl(int index,
StandbyUrl vStandbyUrl) |
void |
setStandbyUrl(List<StandbyUrl> vStandbyUrlList)
Sets the value of '_standbyUrlList' by copying the given
Vector.
|
void |
setStandbyUrl(StandbyUrl[] vStandbyUrlArray) |
void |
setStandbyUrlCollection(List<StandbyUrl> standbyUrlList)
Deprecated.
|
static RwsConfiguration |
unmarshal(Reader reader)
Method unmarshal.
|
void |
validate() |
public void addStandbyUrl(StandbyUrl vStandbyUrl) throws IndexOutOfBoundsException
vStandbyUrl
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addStandbyUrl(int index, StandbyUrl vStandbyUrl) throws IndexOutOfBoundsException
index
- vStandbyUrl
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic Enumeration<StandbyUrl> enumerateStandbyUrl()
public boolean equals(Object obj)
public BaseUrl getBaseUrl()
public StandbyUrl getStandbyUrl(int index) throws IndexOutOfBoundsException
index
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic StandbyUrl[] getStandbyUrl()
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<StandbyUrl> getStandbyUrlCollection()
public int getStandbyUrlCount()
public int hashCode()
The following steps came from Effective Java Programming Language Guide by Joshua Bloch, Chapter 3
public boolean isValid()
public Iterator<StandbyUrl> iterateStandbyUrl()
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 removeAllStandbyUrl()
public boolean removeStandbyUrl(StandbyUrl vStandbyUrl)
vStandbyUrl
- public StandbyUrl removeStandbyUrlAt(int index)
index
- public void setBaseUrl(BaseUrl baseUrl)
baseUrl
- the value of field 'baseUrl'.public void setStandbyUrl(int index, StandbyUrl vStandbyUrl) throws IndexOutOfBoundsException
index
- vStandbyUrl
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setStandbyUrl(StandbyUrl[] vStandbyUrlArray)
vStandbyUrlArray
- public void setStandbyUrl(List<StandbyUrl> vStandbyUrlList)
vStandbyUrlList
- the Vector to copy.public void setStandbyUrlCollection(List<StandbyUrl> standbyUrlList)
standbyUrlList
- the Vector to set.public static RwsConfiguration 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.