|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.netmgt.xml.event.Events
public class Events
Class Events.
| Constructor Summary | |
|---|---|
Events()
|
|
| Method Summary | |
|---|---|
void |
addEvent(Event vEvent)
Method addEvent |
void |
addEvent(int index,
Event vEvent)
Method addEvent |
void |
clearEvent()
Method clearEvent |
java.util.Enumeration |
enumerateEvent()
Method enumerateEvent |
Event[] |
getEvent()
Method getEvent |
Event |
getEvent(int index)
Method getEvent |
java.util.ArrayList |
getEventCollection()
Method getEventCollection Returns a reference to 'event'. |
int |
getEventCount()
Method getEventCount |
boolean |
isValid()
Method isValid |
void |
marshal(org.xml.sax.ContentHandler handler)
Method marshal |
void |
marshal(java.io.Writer out)
Method marshal |
boolean |
removeEvent(Event vEvent)
Method removeEvent |
void |
setEvent(java.util.ArrayList eventCollection)
Method setEvent Sets the value of 'event' by copying the given ArrayList. |
void |
setEvent(Event[] eventArray)
Method setEvent |
void |
setEvent(int index,
Event vEvent)
Method setEvent |
void |
setEventCollection(java.util.ArrayList eventCollection)
Method setEventCollection Sets the value of 'event' by setting it to the given ArrayList. |
static java.lang.Object |
unmarshal(java.io.Reader reader)
Method unmarshal |
void |
validate()
Method validate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Events()
| Method Detail |
|---|
public void addEvent(Event vEvent)
throws java.lang.IndexOutOfBoundsException
vEvent -
java.lang.IndexOutOfBoundsException
public void addEvent(int index,
Event vEvent)
throws java.lang.IndexOutOfBoundsException
index - vEvent -
java.lang.IndexOutOfBoundsExceptionpublic void clearEvent()
public java.util.Enumeration enumerateEvent()
public Event getEvent(int index)
throws java.lang.IndexOutOfBoundsException
index -
java.lang.IndexOutOfBoundsExceptionpublic Event[] getEvent()
public java.util.ArrayList getEventCollection()
public int getEventCount()
public boolean isValid()
public void marshal(java.io.Writer out)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
out -
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
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
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationExceptionpublic boolean removeEvent(Event vEvent)
vEvent -
public void setEvent(int index,
Event vEvent)
throws java.lang.IndexOutOfBoundsException
index - vEvent -
java.lang.IndexOutOfBoundsExceptionpublic void setEvent(Event[] eventArray)
eventArray - public void setEvent(java.util.ArrayList eventCollection)
eventCollection - the Vector to copy.public void setEventCollection(java.util.ArrayList eventCollection)
eventCollection - the ArrayList to copy.
public static java.lang.Object unmarshal(java.io.Reader reader)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
reader -
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void validate()
throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||