public class XmlCreators extends Object implements Serializable
| Constructor and Description |
|---|
XmlCreators()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
addCreator(int index,
XmlCreator creator)
|
void |
addCreator(XmlCreator creator)
|
Iterator<? extends XmlCreator> |
enumerateCreator()
Return an
Iterator of all XmlCreator. |
XmlCreator[] |
getCreator()
Returns the contents of the
List in an Array. |
XmlCreator |
getCreator(int index)
Return the
XmlCreator at the specified position in the
List. |
int |
getCreatorCount()
Return the number of the
XmlCreator. |
void |
removeAllCreator()
Remove all
XmlCreator in the List. |
boolean |
removeCreator(XmlCreator creator)
Remove a specified
XmlCreator. |
XmlCreator |
removeCreatorAt(int index)
Remove a
XmlCreator at the specified position. |
void |
setCreator(int index,
XmlCreator creator)
Set the
XmlCreator at the specified position of the List. |
void |
setCreator(XmlCreator[] creatorArray)
Set a all
XmlCreator to the List. |
public void addCreator(XmlCreator creator) throws IndexOutOfBoundsException
creator - the XmlCreator to add.IndexOutOfBoundsException - if the index given is outside the bounds of the collection.public void addCreator(int index,
XmlCreator creator)
throws IndexOutOfBoundsException
index - the position to insert the XmlCreator.creator - the XmlCreator to add.IndexOutOfBoundsException - if the index given is outside the bounds of the collectionpublic Iterator<? extends XmlCreator> enumerateCreator()
Iterator of all XmlCreator.XmlCreator elements.public XmlCreator getCreator(int index) throws IndexOutOfBoundsException
XmlCreator at the specified position in the
List.index - the position of the searched XmlCreator.XmlCreator at the given indexIndexOutOfBoundsException - if the index given is outside the bounds of the collectionpublic XmlCreator[] getCreator()
List in an Array.
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.
XmlCreator.public int getCreatorCount()
XmlCreator.public void removeAllCreator()
XmlCreator in the List.public boolean removeCreator(XmlCreator creator)
XmlCreator.creator - the XmlCreator to remove.public XmlCreator removeCreatorAt(int index)
XmlCreator at the specified position.index - the position of the XmlCreator to remove.public void setCreator(int index,
XmlCreator creator)
throws IndexOutOfBoundsException
XmlCreator at the specified position of the List.index - the position to set the XmlCreator.creator - the XmlCreator to set.IndexOutOfBoundsException - if the index given is outside the bounds of the collectionpublic void setCreator(XmlCreator[] creatorArray)
XmlCreator to the List.creatorArray - Copyright © 2015 Leibniz Institute of Plant Genetics and Crop Plant Research (IPK). All rights reserved.