|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.calfater.mailcarbon.binding.MessageManagerBinding
public class MessageManagerBinding
Class MessageManagerBinding.
| Constructor Summary | |
|---|---|
MessageManagerBinding()
|
|
| Method Summary | |
|---|---|
void |
addMessage(int index,
java.lang.String vMessage)
|
void |
addMessage(java.lang.String vMessage)
|
void |
deleteMaxAttempts()
|
java.util.Enumeration<? extends java.lang.String> |
enumerateMessage()
Method enumerateMessage. |
int |
getMaxAttempts()
Returns the value of field 'maxAttempts'. |
java.lang.String[] |
getMessage()
Method getMessage.Returns the contents of the collection in an Array. |
java.lang.String |
getMessage(int index)
Method getMessage. |
int |
getMessageCount()
Method getMessageCount. |
boolean |
hasMaxAttempts()
Method hasMaxAttempts. |
boolean |
isValid()
Method isValid. |
java.util.Iterator<? extends java.lang.String> |
iterateMessage()
Method iterateMessage. |
void |
marshal(org.xml.sax.ContentHandler handler)
|
void |
marshal(java.io.Writer out)
|
void |
removeAllMessage()
|
boolean |
removeMessage(java.lang.String vMessage)
Method removeMessage. |
java.lang.String |
removeMessageAt(int index)
Method removeMessageAt. |
void |
setMaxAttempts(int maxAttempts)
Sets the value of field 'maxAttempts'. |
void |
setMessage(int index,
java.lang.String vMessage)
|
void |
setMessage(java.lang.String[] vMessageArray)
|
static MessageManagerBinding |
unmarshal(java.io.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 MessageManagerBinding()
| Method Detail |
|---|
public void addMessage(java.lang.String vMessage)
throws java.lang.IndexOutOfBoundsException
vMessage -
java.lang.IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addMessage(int index,
java.lang.String vMessage)
throws java.lang.IndexOutOfBoundsException
index - vMessage -
java.lang.IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void deleteMaxAttempts()
public java.util.Enumeration<? extends java.lang.String> enumerateMessage()
public int getMaxAttempts()
public java.lang.String getMessage(int index)
throws java.lang.IndexOutOfBoundsException
index -
java.lang.IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic java.lang.String[] getMessage()
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 getMessageCount()
public boolean hasMaxAttempts()
public boolean isValid()
public java.util.Iterator<? extends java.lang.String> iterateMessage()
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 marshaling
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
public 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
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 removeAllMessage()
public boolean removeMessage(java.lang.String vMessage)
vMessage -
public java.lang.String removeMessageAt(int index)
index -
public void setMaxAttempts(int maxAttempts)
maxAttempts - the value of field 'maxAttempts'.
public void setMessage(int index,
java.lang.String vMessage)
throws java.lang.IndexOutOfBoundsException
index - vMessage -
java.lang.IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void setMessage(java.lang.String[] vMessageArray)
vMessageArray -
public static MessageManagerBinding 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 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 | |||||||||