public class ActionEvents extends Object implements Serializable
Constructor and Description |
---|
ActionEvents() |
Modifier and Type | Method and Description |
---|---|
void |
addActionEvent(ActionEvent vActionEvent) |
void |
addActionEvent(int index,
ActionEvent vActionEvent) |
Enumeration<ActionEvent> |
enumerateActionEvent()
Method enumerateActionEvent.
|
boolean |
equals(Object obj)
Overrides the java.lang.Object.equals method.
|
ActionEvent[] |
getActionEvent()
Method getActionEvent.Returns the contents of the collection
in an Array.
|
ActionEvent |
getActionEvent(int index)
Method getActionEvent.
|
List<ActionEvent> |
getActionEventCollection()
Method getActionEventCollection.Returns a reference to
'_actionEventList'.
|
int |
getActionEventCount()
Method getActionEventCount.
|
int |
hashCode()
Overrides the java.lang.Object.hashCode method.
|
boolean |
isValid()
Method isValid.
|
Iterator<ActionEvent> |
iterateActionEvent()
Method iterateActionEvent.
|
void |
marshal(ContentHandler handler) |
void |
marshal(Writer out) |
boolean |
removeActionEvent(ActionEvent vActionEvent)
Method removeActionEvent.
|
ActionEvent |
removeActionEventAt(int index)
Method removeActionEventAt.
|
void |
removeAllActionEvent() |
void |
setActionEvent(ActionEvent[] vActionEventArray) |
void |
setActionEvent(int index,
ActionEvent vActionEvent) |
void |
setActionEvent(List<ActionEvent> vActionEventList)
Sets the value of '_actionEventList' by copying the given
Vector.
|
void |
setActionEventCollection(List<ActionEvent> actionEventList)
Deprecated.
|
static ActionEvents |
unmarshal(Reader reader)
Method unmarshal.
|
void |
validate() |
public void addActionEvent(ActionEvent vActionEvent) throws IndexOutOfBoundsException
vActionEvent
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addActionEvent(int index, ActionEvent vActionEvent) throws IndexOutOfBoundsException
index
- vActionEvent
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic Enumeration<ActionEvent> enumerateActionEvent()
public boolean equals(Object obj)
public ActionEvent getActionEvent(int index) throws IndexOutOfBoundsException
index
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic ActionEvent[] getActionEvent()
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<ActionEvent> getActionEventCollection()
public int getActionEventCount()
public int hashCode()
The following steps came from Effective Java Programming Language Guide by Joshua Bloch, Chapter 3
public boolean isValid()
public Iterator<ActionEvent> iterateActionEvent()
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 boolean removeActionEvent(ActionEvent vActionEvent)
vActionEvent
- public ActionEvent removeActionEventAt(int index)
index
- public void removeAllActionEvent()
public void setActionEvent(int index, ActionEvent vActionEvent) throws IndexOutOfBoundsException
index
- vActionEvent
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setActionEvent(ActionEvent[] vActionEventArray)
vActionEventArray
- public void setActionEvent(List<ActionEvent> vActionEventList)
vActionEventList
- the Vector to copy.public void setActionEventCollection(List<ActionEvent> actionEventList)
actionEventList
- the Vector to set.public static ActionEvents 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.