1 | String getXmlPathLoc() {↵ | | 1 | String get↵
|
2 | return getPropertyAsString(XML_PATH_LOC);↵ | | |
|
3 | }↵ | | |
|
|
4 | ↵ | | 2 | Classname()↵
|
| | | 3 | {↵
|
| | | 4 | return getPropertyAsString(CLASSNAME);↵
|
| | | 5 | }↵
|
| | | 6 | ↵
|
5 | /**↵ | | 7 | /**↵
|
6 | * it's kinda obvious, but we state it anyways. Set the xml file with a↵ | | |
|
7 | * string path.↵ | | |
|
8 | * ↵ | | |
|
9 | * @param filename↵ | | |
|
10 | ↵ | | 8 | * Set the string label used to create an instance of the↵
|
| | | 9 | * test with the string constructor.↵
|
| | | 10 | * @param constr↵
|
11 | */↵ | | 11 | */↵
|
12 | public void setXmlFile(String filename) {↵ | | 12 | public void set↵
|
13 | setProperty(XML_DATA_FILE, filename);↵ | | |
|
14 | }↵ | | |
|
|
15 | ↵ | | 13 | ConstructorString(String constr)↵
|
| | | 14 | {↵
|
| | | 15 | setProperty(CONSTRUCTORSTRING,constr);↵
|
| | | 16 | }↵
|
| | | 17 | ↵
|
16 | /**↵ | | 18 | /**↵
|
17 | * Get the file location of the xml file.↵ | | 19 | * get the ↵
|
18 | * ↵ | | |
|
19 | * @return String file path.↵ | | |
|
20 | ↵ | | 20 | string passed to the string constructor↵
|
21 | */↵ | | 21 | */↵
|
22 | public String getXmlFile() {↵ | | 22 | public String get↵
|
23 | ↵ | | 23 | ConstructorString()↵
|
| | | 24 | {↵
|
24 | return getPropertyAsString(XML_DATA_FILE);↵ | | 25 | return getPropertyAsString(↵
|
25 | ↵ | | 26 | CONSTRUCTORSTRING);↵
|
26 | } | | 27 | }
|