public class RequestErrors
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
RequestErrors() |
| Modifier and Type | Method and Description |
|---|---|
void |
addRequestError(int index,
RequestError vRequestError) |
void |
addRequestError(RequestError vRequestError) |
java.util.Enumeration<? extends RequestError> |
enumerateRequestError()
Method enumerateRequestError.
|
RequestError[] |
getRequestError()
Method getRequestError.Returns the contents of the
collection in an Array.
|
RequestError |
getRequestError(int index)
Method getRequestError.
|
int |
getRequestErrorCount()
Method getRequestErrorCount.
|
boolean |
isValid()
Method isValid.
|
java.util.Iterator<? extends RequestError> |
iterateRequestError()
Method iterateRequestError.
|
void |
marshal(org.xml.sax.ContentHandler handler) |
void |
marshal(java.io.Writer out) |
void |
removeAllRequestError() |
boolean |
removeRequestError(RequestError vRequestError)
Method removeRequestError.
|
RequestError |
removeRequestErrorAt(int index)
Method removeRequestErrorAt.
|
void |
setRequestError(int index,
RequestError vRequestError) |
void |
setRequestError(RequestError[] vRequestErrorArray) |
static RequestErrors |
unmarshal(java.io.Reader reader)
Method unmarshal.
|
void |
validate() |
public void addRequestError(RequestError vRequestError) throws java.lang.IndexOutOfBoundsException
vRequestError - java.lang.IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void addRequestError(int index,
RequestError vRequestError)
throws java.lang.IndexOutOfBoundsException
index - vRequestError - java.lang.IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic java.util.Enumeration<? extends RequestError> enumerateRequestError()
public RequestError getRequestError(int index) throws java.lang.IndexOutOfBoundsException
index - java.lang.IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic RequestError[] getRequestError()
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 int getRequestErrorCount()
public boolean isValid()
public java.util.Iterator<? extends RequestError> iterateRequestError()
public void marshal(java.io.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(org.xml.sax.ContentHandler handler)
throws java.io.IOException,
org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
handler - java.io.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 removeAllRequestError()
public boolean removeRequestError(RequestError vRequestError)
vRequestError - public RequestError removeRequestErrorAt(int index)
index - public void setRequestError(int index,
RequestError vRequestError)
throws java.lang.IndexOutOfBoundsException
index - vRequestError - java.lang.IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void setRequestError(RequestError[] vRequestErrorArray)
vRequestErrorArray - public static RequestErrors unmarshal(java.io.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 © 2016. All Rights Reserved.