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