public class XmlDates
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
XmlDates()
Default constructor
|
XmlDates(DateEvents elementValue) |
| Modifier and Type | Method and Description |
|---|---|
void |
addDate(int index,
XmlDate date)
|
void |
addDate(XmlDate date)
|
java.util.Iterator<? extends XmlDate> |
enumerateDate()
Return an
Iterator of all XmlDate. |
XmlDate[] |
getDate()
Returns the contents of the collection in an Array.
|
XmlDate |
getDate(int index)
Return the
XmlDate at the specified position in the List. |
int |
getDateCount()
Return the number of the
XmlDate. |
void |
removeAllDate()
Remove all
XmlDate in the List. |
boolean |
removeDate(XmlDate date)
Remove a specified
XmlDate. |
XmlDate |
removeDateAt(int index)
Remove a
XmlDate at the specified position. |
void |
setDate(int index,
XmlDate date)
Set the
XmlDate at the specified position of the List. |
void |
setDate(XmlDate[] dateArray)
Set a all
XmlDate to the List. |
public XmlDates()
public XmlDates(DateEvents elementValue)
public void addDate(XmlDate date) throws java.lang.IndexOutOfBoundsException
date - the XmlDate to add.java.lang.IndexOutOfBoundsException - if the index given is outside the bounds of the collection.public void addDate(int index,
XmlDate date)
throws java.lang.IndexOutOfBoundsException
public java.util.Iterator<? extends XmlDate> enumerateDate()
Iterator of all XmlDate.XmlDate elements.public XmlDate getDate(int index) throws java.lang.IndexOutOfBoundsException
XmlDate at the specified position in the List.public XmlDate[] getDate()
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 getDateCount()
XmlDate.public void removeAllDate()
XmlDate in the List.public boolean removeDate(XmlDate date)
XmlDate.date - the XmlDate to remove.public XmlDate removeDateAt(int index)
XmlDate at the specified position.index - the position of the XmlDate to remove.public void setDate(int index,
XmlDate date)
throws java.lang.IndexOutOfBoundsException
XmlDate at the specified position of the List.