org.opennms.web.admin.groups.parsers
Class GroupsWriter
java.lang.Object
org.opennms.web.parsers.XMLWriter
org.opennms.web.admin.groups.parsers.GroupsWriter
public class GroupsWriter
- extends XMLWriter
This class loads and saves information from the groups.xml file
- Version:
- 1.1.1.1
- Author:
- Jason Johns , OpenNMS
|
Method Summary |
protected void |
saveDocument(Collection groups)
Creates a new DOM tree document that represents the data in the
collection. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GroupsWriter
public GroupsWriter(String fileName)
throws XMLWriteException
- Default constructor.
- Throws:
XMLWriteException
saveDocument
protected void saveDocument(Collection groups)
throws XMLWriteException
- Creates a new DOM tree document that represents the data in the
collection. This document will be serialized to a file to save the
configuration.
- Specified by:
saveDocument in class XMLWriter
- Parameters:
groups - the information to save
- Throws:
XMLWriteException - if cannot handle the xml
Copyright ? 2007. All Rights Reserved.