|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.pushtotest.testmaker.resources.XMLProperties
public class XMLProperties
| Constructor Summary | |
|---|---|
XMLProperties()
|
|
| Method Summary | |
|---|---|
static java.util.List |
get()
|
static org.jdom.Element |
getChildElement(java.lang.String elementName)
Return an element within the TestMaker.properties file that is a child to the |
static int |
getValue(org.jdom.Element el,
java.lang.String attributeName,
int defaultval)
Finds the int value in a named attribute of a given Element or returns the default value |
static java.lang.String |
getValue(org.jdom.Element el,
java.lang.String attributeName,
java.lang.String defaultval)
Finds the int value in a named attribute of a given Element or returns the default value |
static void |
save()
Save the properties back to a file. |
static void |
setValue(org.jdom.Element el,
java.lang.String attributeName,
java.lang.String val)
Save a String value named attribute of a given Element |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XMLProperties()
| Method Detail |
|---|
public static org.jdom.Element getChildElement(java.lang.String elementName)
elementName - The name of the child element.public static java.util.List get()
public static void save()
throws java.io.IOException
java.io.IOException
public static int getValue(org.jdom.Element el,
java.lang.String attributeName,
int defaultval)
public static java.lang.String getValue(org.jdom.Element el,
java.lang.String attributeName,
java.lang.String defaultval)
public static void setValue(org.jdom.Element el,
java.lang.String attributeName,
java.lang.String val)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||