public static class XmlTree.XmlTreeNode
extends javax.swing.tree.DefaultMutableTreeNode
Constructor and Description |
---|
XmlTreeNode(org.w3c.dom.Element node,
java.lang.String name)
ctor
|
XmlTreeNode(org.w3c.dom.Element node,
java.lang.String name,
java.lang.String baseLocation)
ctor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBaseLocation()
Find the xml file location.
|
org.w3c.dom.Element |
getXmlNode()
Get the node
|
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject, toString
public XmlTreeNode(org.w3c.dom.Element node, java.lang.String name)
node
- The xml nodename
- The label to usepublic XmlTreeNode(org.w3c.dom.Element node, java.lang.String name, java.lang.String baseLocation)
node
- The xml nodename
- The label to usebaseLocation
- Where the xml came from. May be null.