Class XmlTree.XmlTreeNode

java.lang.Object
javax.swing.tree.DefaultMutableTreeNode
ucar.unidata.ui.XmlTree.XmlTreeNode
All Implemented Interfaces:
Serializable, Cloneable, MutableTreeNode, TreeNode
Direct Known Subclasses:
XmlTree.XlinkTreeNode
Enclosing class:
XmlTree

public static class XmlTree.XmlTreeNode extends DefaultMutableTreeNode
Class XmlTreeNode
Version:
%I%, %G%
Author:
Unidata development team
See Also:
  • Constructor Details

    • XmlTreeNode

      public XmlTreeNode(Element node, String name)
      ctor
      Parameters:
      node - The xml node
      name - The label to use
    • XmlTreeNode

      public XmlTreeNode(Element node, String name, String baseLocation)
      ctor
      Parameters:
      node - The xml node
      name - The label to use
      baseLocation - Where the xml came from. May be null.
  • Method Details

    • getXmlNode

      public Element getXmlNode()
      Get the node
      Returns:
      The xml node
    • getBaseLocation

      public String getBaseLocation()
      Find the xml file location. Recurse up the tree if needed.
      Returns:
      Where the xml came from where I came from