summaryrefslogtreecommitdiffstats
path: root/lib/jython/Lib/xml/dom/Comment.py
blob: 7541e00b335216fb50b9da96edc931a12eb98606 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
########################################################################
#
# File Name:            Comment.py
#
# Documentation:        http://docs.4suite.org/4DOM/Comment.py.html
#
"""
WWW: http://4suite.org/4DOM         e-mail: support@4suite.org

Copyright (c) 2000 Fourthought Inc, USA.   All Rights Reserved.
See  http://4suite.org/COPYRIGHT  for license and copyright information
"""

from xml.dom import Node
from CharacterData import CharacterData

class Comment(CharacterData):
    nodeType = Node.COMMENT_NODE

    def __init__(self,ownerDocument,data):
        CharacterData.__init__(self, ownerDocument, data)
        self.__dict__['__nodename'] = '#comment'