|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--gov.lanl.Utility.DOMTree2Xml
Provides conversion from the DOMTree in a JTree view to Xml. The DOMTree node may be provided in a constructor, or via a set call; the Xml is only provided via a get call, is generated from the current DOMTree
| Constructor Summary | |
DOMTree2Xml()
Creates the class with no current xml. |
|
DOMTree2Xml(javax.swing.tree.DefaultMutableTreeNode inTreeNode)
Create the class with a current tree node |
|
| Method Summary | |
javax.swing.tree.DefaultMutableTreeNode |
getTreeNode()
Return the current dom tree node. |
java.lang.String |
getXml()
Generate the xml for the current DOMTree, acutally a JTree and return it. |
void |
setTreeNode(javax.swing.tree.DefaultMutableTreeNode inTreeNode)
Set the current dom tree node. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DOMTree2Xml()
public DOMTree2Xml(javax.swing.tree.DefaultMutableTreeNode inTreeNode)
inTreeNode - is the DOMTree to use as the current tree node| Method Detail |
public void setTreeNode(javax.swing.tree.DefaultMutableTreeNode inTreeNode)
public javax.swing.tree.DefaultMutableTreeNode getTreeNode()
public java.lang.String getXml()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||