1 | String getXmlData() {↵ | | 1 | String getConfigChoice() {↵
|
2 | return getPropertyAsString(XML_DATA);↵ | | 2 | return getPropertyAsString(CONFIG_CHOICE);↵
|
3 | }↵ | | 3 | }↵
|
|
4 | /**↵ | | 4 | /**↵
|
5 | * it's kinda obvious, but we state it anyways. Set the xml file with a↵ | | |
|
6 | * string path.↵ | | |
|
7 | *↵ | | |
|
8 | * @param filename↵ | | |
|
9 | ↵ | | 5 | * set the source of the message↵
|
| | | 6 | * ↵
|
| | | 7 | * @param choice↵
|
10 | */↵ | | 8 | */↵
|
11 | public void setXmlFile(String filename) {↵ | | 9 | public void set↵
|
12 | setProperty(XML_DATA_FILE, filenam↵ | | 10 | MessageChoice(String choice) {↵
|
13 | e);↵ | | 11 | setProperty(MESSAGE_CHOICE, choice);↵
|
14 | }↵ | | 12 | }↵
|
|
15 | /**↵ | | 13 | /**↵
|
16 | * Get the file location of the xml file.↵ | | 14 | * return the ↵
|
17 | *↵ | | |
|
18 | * @return String file path.↵ | | |
|
19 | ↵ | | 15 | source of the message↵
|
| | | 16 | * ↵
|
20 | */↵ | | 17 | */↵
|
21 | public String getXmlFile() {↵ | | 18 | public String get↵
|
22 | ↵ | | 19 | MessageChoice() {↵
|
23 | return getPropertyAsString(XML_DATA_FILE);↵ | | 20 | return getPropertyAsString(MESSAGE_CHOICE);↵
|
24 | } | | 21 | }
|