|
OpenNMS API 1.2.3 | |||||||||
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
This class loads and saves information from the notifications.xml file
Field Summary | |
private java.lang.String |
status
|
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 |
Field Detail |
private java.lang.String status
Constructor Detail |
public NotificationsWriter(java.lang.String fileName) throws XMLWriteException
Method Detail |
public void setStatus(java.lang.String aStatus)
protected void saveDocument(java.util.Collection notifications) throws XMLWriteException
saveDocument
in class XMLWriter
notifications
- the information to save.
XMLWriteException
|
OpenNMS API 1.2.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |