org.springframework.richclient.settings.xml
Interface XmlSettingsReaderWriter

All Known Implementing Classes:
FileSystemXmlSettingsReaderWriter, StringXmlSettingsReaderWriter

public interface XmlSettingsReaderWriter

Interface for supporting pluggable xml persistence implementations.

Author:
Peter De Bruycker

Method Summary
 RootXmlSettings read(String key)
          Reads the settings with the given key from the backing store.
 void write(RootXmlSettings settings)
          Writes the given settings to the backing store.
 

Method Detail

write

void write(RootXmlSettings settings)
           throws SettingsException
Writes the given settings to the backing store.

Parameters:
settings - the settings
Throws:
SettingsException - wraps any exception thrown by the backing store

read

RootXmlSettings read(String key)
                     throws SettingsException
Reads the settings with the given key from the backing store.

Parameters:
key - the key
Returns:
the settings
Throws:
SettingsException - wraps any exception thrown by the backing store


Copyright © 2004-2008 The Spring Framework. All Rights Reserved.