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