|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.richclient.settings.xml.XmlSettingsFactory
public class XmlSettingsFactory
SettingsFactory
for creating XmlSettings
.
Constructor Summary | |
---|---|
XmlSettingsFactory()
|
Method Summary | |
---|---|
Settings |
createSettings(String key)
Create a new Settings instance for the given key. |
String |
getLocation()
Returns the location for the xml files. |
XmlSettingsReaderWriter |
getReaderWriter()
Returns the XmlSettingsReaderWriter used for persisting
the xml to the backing store. |
void |
setLocation(String location)
Sets the location of the xml files. |
void |
setReaderWriter(XmlSettingsReaderWriter readerWriter)
Sets the XmlSettingsReaderWriter to use. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XmlSettingsFactory()
Method Detail |
---|
public XmlSettingsReaderWriter getReaderWriter()
XmlSettingsReaderWriter
used for persisting
the xml to the backing store. If no XmlSettingsReaderWriter
was set, the default (FileSystemXmlSettingsReaderWriter
)
will be used.
XmlSettingsReaderWriter
public void setReaderWriter(XmlSettingsReaderWriter readerWriter)
XmlSettingsReaderWriter
to use. If set to
null
, the default (FileSystemXmlSettingsReaderWriter
)
will be used.
readerWriter
- the XmlSettingsReaderWriter
public Settings createSettings(String key) throws SettingsException
SettingsFactory
Settings
instance for the given key.
createSettings
in interface SettingsFactory
key
- the key
Settings
instance
SettingsException
public String getLocation()
public void setLocation(String location)
location
- the location
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |