com.resilientedge.util.prefs.xml
Class XMLPreferences

java.lang.Object
  |
  +--com.resilientedge.util.prefs.xml.XMLPreferences
All Implemented Interfaces:
java.io.Serializable

public class XMLPreferences
extends java.lang.Object
implements java.io.Serializable

Represents a list of pair groups

Author:
jwh
See Also:
Serialized Form

Constructor Summary
XMLPreferences()
          Default constructor
 
Method Summary
 XMLRoot getRoot()
           
 void load(java.io.Reader reader)
          Load properties from an XML file using the XmlMapping utility.
 void setRoot(XMLRoot root)
           
 void store(java.io.Writer writer)
          Save properties to an XML file using the XmlMapping utility.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLPreferences

public XMLPreferences()
Default constructor
Method Detail

setRoot

public void setRoot(XMLRoot root)
Parameters:
root - The new Root value

getRoot

public XMLRoot getRoot()
Returns:
The Root value

store

public void store(java.io.Writer writer)
           throws java.io.IOException,
                  XmlMappingException
Save properties to an XML file using the XmlMapping utility.
Parameters:
writer - the writer to write the XML to
Throws:
java.io.IOException - Exception Description
XmlMappingException - Exception Description

load

public void load(java.io.Reader reader)
          throws java.io.IOException,
                 XmlMappingException
Load properties from an XML file using the XmlMapping utility.
Parameters:
reader - the reader to read the XML from
Throws:
java.io.IOException - Exception Description
XmlMappingException - Exception Description


Copyright © 2001 Resilient Edge, Inc. All Rights Reserved.