public abstract class AbstractTreeNodeFactory extends Object implements TreeNodeFactory
Constructor and Description |
---|
AbstractTreeNodeFactory() |
Modifier and Type | Method and Description |
---|---|
protected void |
addNodeCreator(char nodeValue,
NodeCreator creator)
Add a node creator for the given node value.
|
protected abstract TreeNode |
createDefaultNode(char nodeValue)
Creates a default tree node where no corresponding node creator has been identified.
|
TreeNode |
getTreeNode(char nodeValue)
Given the node value create a new tree node.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRootNode
public TreeNode getTreeNode(char nodeValue)
TreeNodeFactory
getTreeNode
in interface TreeNodeFactory
nodeValue
- The node value.protected void addNodeCreator(char nodeValue, NodeCreator creator)
nodeValue
- The node value.creator
- The node creator instance.protected abstract TreeNode createDefaultNode(char nodeValue)
nodeValue
- The node value.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.