1 | String getMethod() {↵ | | 1 | String getXmlData() {↵
|
2 | return getPropertyAsString(METHOD);↵ | | 2 | return getPropertyAsString(XML_DATA);↵
|
3 | }↵ | | 3 | }↵
|
|
4 | public void setContentEncoding(String value) {↵ | | |
|
5 | setProperty(CONTENT_ENCODING, valu↵ | | 4 | /**↵
|
| | | 5 | * it's kinda obvious, but we state it anyways. Set the xml file with a↵
|
| | | 6 | * string path.↵
|
| | | 7 | *↵
|
| | | 8 | * @param filename↵
|
| | | 9 | */↵
|
| | | 10 | public void setXmlFile(String filename) {↵
|
6 | e);↵ | | 11 | setProperty(XML_DATA_FILE, filename);↵
|
7 | }↵ | | 12 | }↵
|
|
8 | public String getContentEncoding() {↵ | | |
|
9 | ↵ | | 13 | /**↵
|
| | | 14 | * Get the file location of the xml file.↵
|
| | | 15 | *↵
|
| | | 16 | * @return String file path.↵
|
| | | 17 | */↵
|
| | | 18 | public String getXmlFile() {↵
|
10 | return getPropertyAsString(CONTENT_ENCODING);↵ | | 19 | return getPropertyAsString(↵
|
11 | | | 20 | XML_DATA_FILE);↵
|
| | | 21 |
|