public abstract class SchemaElementTreeNode extends DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject| Modifier | Constructor and Description |
|---|---|
protected |
SchemaElementTreeNode(String name,
Object schemaElement)
Constructor of the node.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Returns the name of the node.
|
Object |
getSchemaElement()
Returns the schema element associated with the node.
|
boolean |
isLeaf() |
boolean |
isRoot() |
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, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject, toStringprotected SchemaElementTreeNode(String name, Object schemaElement)
name - the name of the node.schemaElement - the schema element (attribute definition, object class
definition, etc.) associated with the node.public Object getSchemaElement()
public boolean isRoot()
isRoot in class DefaultMutableTreeNodepublic boolean isLeaf()
isLeaf in interface TreeNodeisLeaf in class DefaultMutableTreeNodeCopyright © 2010-2015 ForgeRock AS. All Rights Reserved.