|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.pushtotest.testmaker.XML2Swing.XML2Swing
public class XML2Swing
XML2Swing Parses an XML document and creates a Swing graphical interface to display and edit the document contents.
| Constructor Summary | |
|---|---|
XML2Swing(java.lang.String thefilename,
javax.swing.JPanel thepanel,
javax.swing.JFrame theframe)
The constructor does everything. |
|
| Method Summary | |
|---|---|
void |
changeXML(org.jdom.Element element,
int operation,
java.lang.String thestring)
Called by the action handler for the Add Element, Add Attribute, Remove buttons * |
void |
saveAsXML(java.io.File thefile)
Save the XML data to a new file |
void |
saveXML()
Saves the XML data back to the XML file |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XML2Swing(java.lang.String thefilename,
javax.swing.JPanel thepanel,
javax.swing.JFrame theframe)
| Method Detail |
|---|
public void changeXML(org.jdom.Element element,
int operation,
java.lang.String thestring)
public void saveAsXML(java.io.File thefile)
throws java.io.IOException
java.io.IOException
public void saveXML()
throws java.io.IOException
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||