|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.mindtree.techworks.insight.preferences.xmlpersistence.XMLDOMPreferenceDataWriter
public class XMLDOMPreferenceDataWriter
This class saves the preferences into the preference file. No new top-level preferences can be added, however child preferences and preference attributes can be added to existing preferences. This implementation creates a DOM model of the preferences, and stores the model.
XMLPreferenceDataHandler| Field Summary |
|---|
| Constructor Summary | |
|---|---|
XMLDOMPreferenceDataWriter(java.lang.String preferenceFile)
Default Constructor which gets the list of preferences to store. |
|
| Method Summary | |
|---|---|
void |
writePreferences(java.util.List preferences,
java.lang.String outputFile)
Writes the preferences to the store |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XMLDOMPreferenceDataWriter(java.lang.String preferenceFile)
preferenceFile - The preferenceFile to store.| Method Detail |
|---|
public void writePreferences(java.util.List preferences,
java.lang.String outputFile)
throws PreferenceHandlerStoreException
preferences - The list of preferences to storeoutputFile - The filt to which the preferences are to be stored
PreferenceHandlerStoreException - If the preference cannot be stored.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||