public static class SchemaTreeTraverser.SchemaTreeNode
extends javax.swing.tree.DefaultMutableTreeNode
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
artifactName
The caption of the corresponding artifact.
|
private java.lang.String |
fileName
File name of the corresponding schema artifact.
|
private int |
lineNumber
Line number of the corresponding schema artifact.
|
Constructor and Description |
---|
SchemaTreeNode(java.lang.String artifactName,
org.xml.sax.Locator locator)
Simple constructor.
|
Modifier and Type | Method and 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) |
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
private java.lang.String fileName
private int lineNumber
private java.lang.String artifactName
public SchemaTreeNode(java.lang.String artifactName, org.xml.sax.Locator locator)
artifactName
- Artifact name.locator
- Artifact locator.public java.lang.String getCaption()
this
node.this
node.public java.lang.String getFileName()
public void setFileName(java.lang.String fileName)
fileName
- The file name of the corresponding schema artifact to
set.public int getLineNumber()
public void setLineNumber(int lineNumber)
lineNumber
- The line number of the corresponding schema
artifact to set.