Mercurial > dive4elements > framework
comparison artifact-database/src/main/java/de/intevation/artifactdatabase/state/Settings.java @ 359:f93edbfcf2bc
Improved the Settings and Section interfaces and added default implementations for both.
artifacts/trunk@3416 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Wed, 14 Dec 2011 12:20:06 +0000 |
parents | 03a8f9796571 |
children |
comparison
equal
deleted
inserted
replaced
358:03a8f9796571 | 359:f93edbfcf2bc |
---|---|
33 * existing at <i>pos</i>. | 33 * existing at <i>pos</i>. |
34 */ | 34 */ |
35 Section getSection(int pos); | 35 Section getSection(int pos); |
36 | 36 |
37 /** | 37 /** |
38 * Removes a Section if it is existing in this Settings. | |
39 * | |
40 * @param section The section that should be removed. | |
41 */ | |
42 void removeSection(Section section); | |
43 | |
44 /** | |
38 * Transforms this Settings object into a XML representation. Therefore, | 45 * Transforms this Settings object into a XML representation. Therefore, |
39 * each Section object's <i>toXML</i> method is called to append its XML | 46 * each Section object's <i>toXML</i> method is called to append its XML |
40 * representation to the final document. | 47 * representation to the final document. |
41 * | 48 * |
42 * @param parent The parent node. | 49 * @param parent The parent node. |