1 | String getRefName() {↵ | | 1 | String getXmlPathLoc() {↵
|
2 | return getPropertyAsString(REFNAME);↵ | | 2 | return getPropertyAsString(↵
|
3 | }↵ | | |
|
4 | ↵ | | |
|
5 | ↵ | | 3 | XML_PATH_LOC);↵
|
| | | 4 | }↵
|
|
| | | 5 | /**↵
|
| | | 6 | * it's kinda obvious, but we state it anyways. Set the xml file with a↵
|
| | | 7 | * string path.↵
|
| | | 8 | * ↵
|
| | | 9 | * @param filename↵
|
| | | 10 | */↵
|
6 | public void setDefaultValue(String val) {↵ | | 11 | public void setXmlFile(String filename) {↵
|
7 | setProperty(DEFAULT, val);↵ | | 12 | setProperty(↵
|
8 | }↵ | | |
|
| | | 13 | XML_DATA_FILE, filename);↵
|
| | | 14 | }↵
|
|
| | | 15 | /**↵
|
| | | 16 | * Get the file location of the xml file.↵
|
| | | 17 | * ↵
|
| | | 18 | * @return String file path.↵
|
| | | 19 | */↵
|
9 | public String getDefaultValue() {↵ | | 20 | public String getXmlFile() {↵
|
10 | return getPropertyAsString(DEFAULT);↵ | | 21 | return getPropertyAsString(XML_DATA_FILE);↵
|
11 | | | 22 |
|