1 | void setXmlData(String data) {↵ | | 1 | void setFilename(String newFilename) {↵
|
2 | setProperty(XML_DATA, data);↵ | | 2 | this.setProperty(FILENAME, newFilename);↵
|
3 | }↵ | | 3 | }↵
|
|
4 | public String getXmlData() {↵ | | 4 | public String getFilename() {↵
|
5 | return getPropertyAsString(XML_DATA);↵ | | 5 | return getPropertyAsString(FILENAME);↵
|
6 | }↵ | | 6 | }↵
|
|
7 | /**↵ | | |
|
8 | * it's kinda obvious, but we state it anyways. Set the xml file with a↵ | | 7 | public void setRequestDat↵
|
9 | * string path.↵ | | |
|
10 | *↵ | | |
|
11 | * @param filename↵ | | |
|
12 | */↵ | | |
|
13 | public void setXmlFile(String filename) {↵ | | |
|
14 | setProperty(XML_DATA_FILE, filename);↵ | | |
|
15 | }↵ | | |
|
|
16 | /**↵ | | |
|
17 | * Get the file location of the xml file.↵ | | |
|
18 | *↵ | | |
|
19 | * @return String file path.↵ | | |
|
20 | */↵ | | |
|
21 | public String getXmlFile() {↵ | | |
|
22 | ↵ | | 8 | a(String newRequestData) {↵
|
| | | 9 | this.setProperty(REQUEST, newRequestData);↵
|
| | | 10 | }↵
|
|
| | | 11 | public String getRequestData() {↵
|
23 | return getPropertyAsString(XML_DATA_FILE);↵ | | 12 | return getPropertyAsString(↵
|
24 | | | 13 | REQUEST);↵
|
| | | 14 |
|