1 | void setXPathQuery(String val){↵ | | 1 | void setX↵
|
2 | setProperty(XPATH_QUERY,val); ↵ | | |
|
3 | }↵ | | |
|
4 | ↵ | | |
|
5 | ↵ | | 2 | mlData(String data) {↵
|
| | | 3 | setProperty(XML_DATA, data);↵
|
| | | 4 | }↵
|
|
6 | public String getXPathQuery(){↵ | | 5 | public String getXmlData() {↵
|
7 | return getPropertyAsString(XPATH_QUERY);↵ | | 6 | return getPropertyAsString(XML_DATA);↵
|
| | | 7 | }↵
|
|
8 | }↵ | | 8 | /**↵
|
9 | ↵ | | 9 | ↵
|
10 | ↵ | | 10 | * it's kinda obvious, but we state it anyways. Set the xml file with a↵
|
| | | 11 | * string path.↵
|
| | | 12 | *↵
|
| | | 13 | * @param filename↵
|
| | | 14 | */↵
|
11 | public void setRefName(String refName) {↵ | | 15 | public void setXmlFile(String filename) {↵
|
12 | setProperty(REFNAME, refName);↵ | | 16 | setProperty(XML_DATA_FILE, filename);↵
|
13 | }↵ | | 17 | }↵
|
|
14 | ↵ | | 18 | /**↵
|
| | | 19 | * Get the file location of the xml file.↵
|
| | | 20 | *↵
|
| | | 21 | * @return String file path.↵
|
| | | 22 | */↵
|
15 | public String getRefName() {↵ | | 23 | public String getXmlFile() {↵
|
16 | return getPropertyAsString(REFNAME);↵ | | 24 | return getPropertyAsString(XML_DATA_FILE);↵
|
17 | } | | 25 | }
|