Class SchemaTreeTraverser.SchemaTreeNode
java.lang.Object
javax.swing.tree.DefaultMutableTreeNode
com.sun.xml.xsom.impl.util.SchemaTreeTraverser.SchemaTreeNode
- All Implemented Interfaces:
Serializable, Cloneable, MutableTreeNode, TreeNode
- Direct Known Subclasses:
SchemaTreeTraverser.SchemaRootNode
- Enclosing class:
SchemaTreeTraverser
The node of the schema hierarchy tree.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate StringThe caption of the corresponding artifact.private StringFile name of the corresponding schema artifact.private intLine number of the corresponding schema artifact.Fields inherited from class DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the caption forthisnode.intvoidsetFileName(String fileName) voidsetLineNumber(int lineNumber) Methods inherited from class 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
-
Field Details
-
fileName
File name of the corresponding schema artifact. -
lineNumber
private int lineNumberLine number of the corresponding schema artifact. -
artifactName
The caption of the corresponding artifact.
-
-
Constructor Details
-
SchemaTreeNode
-
-
Method Details
-
getCaption
-
getFileName
- Returns:
- Returns the file name of the corresponding schema artifact.
-
setFileName
- Parameters:
fileName- The file name of the corresponding schema artifact to set.
-
getLineNumber
public int getLineNumber()- Returns:
- Returns the line number of the corresponding schema artifact.
-
setLineNumber
public void setLineNumber(int lineNumber) - Parameters:
lineNumber- The line number of the corresponding schema artifact to set.
-