1 57 58 package com.sun.org.apache.xerces.internal.dom; 59 60 import org.w3c.dom.CharacterData ; 61 import org.w3c.dom.Comment ; 62 import org.w3c.dom.Node ; 63 64 70 public class CommentImpl 71 extends CharacterDataImpl 72 implements CharacterData , Comment { 73 74 78 79 static final long serialVersionUID = -2685736833408134044L; 80 81 85 86 public CommentImpl(CoreDocumentImpl ownerDoc, String data) { 87 super(ownerDoc, data); 88 } 89 90 94 98 public short getNodeType() { 99 return Node.COMMENT_NODE; 100 } 101 102 103 public String getNodeName() { 104 return "#comment"; 105 } 106 107 } | Popular Tags |