org.dom4j.swing
public class BranchTreeNode extends LeafTreeNode
BranchTreeNode
implements the Swing TreeNode interface to bind
dom4j XML Branch nodes (i.e. Document and Element nodes) to a Swing
TreeModel.
Version: $Revision: 1.10 $
Field Summary | |
---|---|
protected List | children Stores the child tree nodes |
Constructor Summary | |
---|---|
BranchTreeNode() | |
BranchTreeNode(Branch xmlNode) | |
BranchTreeNode(TreeNode parent, Branch xmlNode) |
Method Summary | |
---|---|
Enumeration | children() |
protected List | createChildList()
Factory method to create List of children TreeNodes
|
protected TreeNode | createChildTreeNode(Node xmlNode)
Factory method to create child tree nodes for a given XML node type
|
boolean | getAllowsChildren() |
TreeNode | getChildAt(int childIndex) |
int | getChildCount() |
protected List | getChildList()
Uses Lazy Initialization pattern to create a List of children
|
int | getIndex(TreeNode node) |
protected Branch | getXmlBranch() |
boolean | isLeaf() |
String | toString() |
Returns: DOCUMENT ME!
Parameters: xmlNode DOCUMENT ME!
Returns: DOCUMENT ME!
Returns: DOCUMENT ME!