summaryrefslogtreecommitdiffstats
path: root/lib/jython/Lib/xml/dom/Comment.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/jython/Lib/xml/dom/Comment.py')
-rw-r--r--lib/jython/Lib/xml/dom/Comment.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/lib/jython/Lib/xml/dom/Comment.py b/lib/jython/Lib/xml/dom/Comment.py
new file mode 100644
index 000000000..7541e00b3
--- /dev/null
+++ b/lib/jython/Lib/xml/dom/Comment.py
@@ -0,0 +1,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'