Class SchemaTreeTraverser.SchemaTreeNode

  • All Implemented Interfaces:, java.lang.Cloneable, javax.swing.tree.MutableTreeNode, javax.swing.tree.TreeNode
    Direct Known Subclasses:
    Enclosing class:

    public static class SchemaTreeTraverser.SchemaTreeNode
    extends javax.swing.tree.DefaultMutableTreeNode
    The node of the schema hierarchy tree.
    Kirill Grouchnikov
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class javax.swing.tree.DefaultMutableTreeNode

        allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
    • Constructor Summary

      Constructor Description
      SchemaTreeNode​(java.lang.String artifactName, org.xml.sax.Locator locator)
      Simple constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getCaption()
      Returns the caption for this node.
      java.lang.String getFileName()  
      int getLineNumber()  
      void setFileName​(java.lang.String fileName)  
      void setLineNumber​(int lineNumber)  
      • Methods inherited from class javax.swing.tree.DefaultMutableTreeNode

        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
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • SchemaTreeNode

        public SchemaTreeNode​(java.lang.String artifactName,
                              org.xml.sax.Locator locator)
        Simple constructor.
        artifactName - Artifact name.
        locator - Artifact locator.
    • Method Detail

      • getCaption

        public java.lang.String getCaption()
        Returns the caption for this node.
        The caption for this node.
      • getFileName

        public java.lang.String getFileName()
        Returns the file name of the corresponding schema artifact.
      • setFileName

        public void setFileName​(java.lang.String fileName)
        fileName - The file name of the corresponding schema artifact to set.
      • getLineNumber

        public int getLineNumber()
        Returns the line number of the corresponding schema artifact.
      • setLineNumber

        public void setLineNumber​(int lineNumber)
        lineNumber - The line number of the corresponding schema artifact to set.