|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.web.parsers.XMLWriter
org.opennms.web.notification.parsers.NotificationsWriter
public class NotificationsWriter
This class loads and saves information from the notifications.xml file
| Field Summary |
|---|
| Fields inherited from class org.opennms.web.parsers.XMLWriter |
|---|
DTD_EXTENSION, m_baseName, m_docBuilder, m_document, m_dtd, m_dtdPath, m_fileName, m_headerInfo, m_xmlPath, XML_EXTENSION |
| Constructor Summary | |
|---|---|
NotificationsWriter(java.lang.String fileName)
Default constructor, intializes the member variables |
|
| Method Summary | |
|---|---|
protected void |
saveDocument(java.util.Collection notifications)
This method creates a new DOM tree document that represents the data in the collection. |
void |
setStatus(java.lang.String aStatus)
|
| Methods inherited from class org.opennms.web.parsers.XMLWriter |
|---|
addCDataElement, addDataElement, addEmptyElement, backup, getDTD, getVersion, loadDTD, save, serializeToFile |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NotificationsWriter(java.lang.String fileName)
throws XMLWriteException
XMLWriteException| Method Detail |
|---|
public void setStatus(java.lang.String aStatus)
protected void saveDocument(java.util.Collection notifications)
throws XMLWriteException
saveDocument in class XMLWriternotifications - the information to save.
XMLWriteException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||