|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface which defines the methods required if an external class is used in the system.
To use an external class, ensure that it derives (indirectly or directly) from junit.framework.TestCase, and should be in the class path.
If the class needs access to the xml configuration file, it should implement this interface.
Add the class to the dtd.
If the class has any bean like set accessors, attributes can also be added to the dtd.
For example if the class has a method void myclass::setMyAttr(String) The dtd would be
<!ATTLIST myclass myAttr CDATA #IMPLIED>and the xml step would be
<myclass myAttr="a value"/>
Method Summary | |
org.w3c.dom.Element |
getXmlElement()
|
void |
setXmlElement(org.w3c.dom.Element e,
org.w3c.dom.Document config)
|
Method Detail |
public void setXmlElement(org.w3c.dom.Element e, org.w3c.dom.Document config)
public org.w3c.dom.Element getXmlElement()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |