|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.config.notifications.Notifications
public class Notifications
Top-level element for the notifications.xml configuration file.
| Constructor Summary | |
|---|---|
Notifications()
|
|
| Method Summary | |
|---|---|
void |
addNotification(int index,
Notification vNotification)
Method addNotification |
void |
addNotification(Notification vNotification)
Method addNotification |
void |
clearNotification()
Method clearNotification |
java.util.Enumeration |
enumerateNotification()
Method enumerateNotification |
Header |
getHeader()
Returns the value of field 'header'. |
Notification[] |
getNotification()
Method getNotification |
Notification |
getNotification(int index)
Method getNotification |
java.util.ArrayList |
getNotificationCollection()
Method getNotificationCollection Returns a reference to 'notification'. |
int |
getNotificationCount()
Method getNotificationCount |
boolean |
isValid()
Method isValid |
void |
marshal(org.xml.sax.ContentHandler handler)
Method marshal |
void |
marshal(java.io.Writer out)
Method marshal |
boolean |
removeNotification(Notification vNotification)
Method removeNotification |
void |
setHeader(Header header)
Sets the value of field 'header'. |
void |
setNotification(java.util.ArrayList notificationCollection)
Method setNotification Sets the value of 'notification' by copying the given ArrayList. |
void |
setNotification(int index,
Notification vNotification)
Method setNotification |
void |
setNotification(Notification[] notificationArray)
Method setNotification |
void |
setNotificationCollection(java.util.ArrayList notificationCollection)
Method setNotificationCollection Sets the value of 'notification' 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 Notifications()
| Method Detail |
|---|
public void addNotification(Notification vNotification)
throws java.lang.IndexOutOfBoundsException
vNotification -
java.lang.IndexOutOfBoundsException
public void addNotification(int index,
Notification vNotification)
throws java.lang.IndexOutOfBoundsException
index - vNotification -
java.lang.IndexOutOfBoundsExceptionpublic void clearNotification()
public java.util.Enumeration enumerateNotification()
public Header getHeader()
public Notification getNotification(int index)
throws java.lang.IndexOutOfBoundsException
index -
java.lang.IndexOutOfBoundsExceptionpublic Notification[] getNotification()
public java.util.ArrayList getNotificationCollection()
public int getNotificationCount()
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 removeNotification(Notification vNotification)
vNotification -
public void setHeader(Header header)
header - the value of field 'header'.
public void setNotification(int index,
Notification vNotification)
throws java.lang.IndexOutOfBoundsException
index - vNotification -
java.lang.IndexOutOfBoundsExceptionpublic void setNotification(Notification[] notificationArray)
notificationArray - public void setNotification(java.util.ArrayList notificationCollection)
notificationCollection - the Vector to copy.public void setNotificationCollection(java.util.ArrayList notificationCollection)
notificationCollection - 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 | ||||||||