KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > gnu > kawa > xml > KComment


1 // Copyright (c) 2004 Per M.A. Bothner.
2
// This is free software; for terms and warranty disclaimer see ./COPYING.
3

4 package gnu.kawa.xml;
5 import gnu.xml.*;
6 /* #ifdef use:org.w3c.dom.Node */
7 // import org.w3c.dom.*;
8
/* #endif */
9
10 public class KComment extends KCharacterData
11   /* #ifdef use:org.w3c.dom.Node */
12   // implements org.w3c.dom.Comment
13
/* #endif */
14 {
15   public KComment (NodeTree seq, int ipos)
16   {
17     super(seq, ipos);
18   }
19
20   /* #ifdef use:org.w3c.dom.Node */
21   // public short getNodeType () { return Node.COMMENT_NODE; }
22
/* #endif */
23
24   public String JavaDoc getNodeName()
25   {
26     return "#comment";
27   }
28
29 }
30
Popular Tags