public static class SchemaTreeTraverser.SchemaTreeNode extends DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
Constructor and Description |
---|
SchemaTreeNode(String artifactName,
Locator locator)
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getCaption()
Returns the caption for
this node. |
String |
getFileName() |
int |
getLineNumber() |
void |
setFileName(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
public String getCaption()
this
node.this
node.public String getFileName()
public void setFileName(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.Copyright © 2021 JBoss by Red Hat. All rights reserved.