home *** CD-ROM | disk | FTP | other *** search
- package com.ibm.xml.parser.util;
-
- import com.ibm.xml.parser.Child;
- import com.ibm.xml.parser.TXComment;
- import java.util.Enumeration;
- import javax.swing.tree.TreeNode;
-
- public class TreeFactory$TreeComment extends TXComment implements TreeNode {
- public TreeFactory$TreeComment(String var1) {
- super(var1);
- }
-
- public Enumeration children() {
- return null;
- }
-
- public boolean getAllowsChildren() {
- return false;
- }
-
- public TreeNode getChildAt(int var1) {
- return null;
- }
-
- public int getChildCount() {
- return 0;
- }
-
- public int getIndex(TreeNode var1) {
- return -1;
- }
-
- public TreeNode getParent() {
- return (TreeNode)((Child)this).getParentNode();
- }
-
- public boolean isLeaf() {
- return true;
- }
-
- public String toString() {
- return ((TreeFactory)((Child)this).getFactory()).convertValueToText(this);
- }
- }
-