org.opennms.web.eventconf.parsers
Class EventConfWriter
java.lang.Object
org.opennms.web.parsers.XMLWriter
org.opennms.web.eventconf.parsers.EventConfWriter
- public class EventConfWriter
- extends XMLWriter
This class is used to save data to the eventconf.xml file.
- Version:
- 1.1.1.1
- Author:
- Jason Johns , OpenNMS
Constructor Summary |
EventConfWriter(java.lang.String fileName)
Default constructor, intializes the member variables |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EventConfWriter
public EventConfWriter(java.lang.String fileName)
throws XMLWriteException
- Default constructor, intializes the member variables
saveDocument
protected void saveDocument(java.util.Collection events)
throws XMLWriteException
- This method saves the list of events to the specified file
- Specified by:
saveDocument
in class XMLWriter
- Throws:
XMLWriteException,
- if the save failed
XMLWriteException
buildGlobalElement
private org.w3c.dom.Element buildGlobalElement(org.w3c.dom.Element parent,
Global global)
buildSnmpElement
private org.w3c.dom.Element buildSnmpElement(org.w3c.dom.Element parent,
Snmp snmp)
buildCorrelationElement
private org.w3c.dom.Element buildCorrelationElement(org.w3c.dom.Element parent,
Correlation correlation)
Generated by eevans on April 2 2005 2134.