diff options
author | jhugunin <jhugunin> | 2003-01-03 23:19:47 +0000 |
---|---|---|
committer | jhugunin <jhugunin> | 2003-01-03 23:19:47 +0000 |
commit | 8ec8f0c0c6c68d9b13c3bc3416c3234eddd48379 (patch) | |
tree | 8a2e07ba2a0048aae570053e019e02bd093f175f /lib/jython/Lib/xml/dom/Comment.py | |
parent | f685f979a4d3eb3844f74850deece1da265bc975 (diff) | |
download | aspectj-8ec8f0c0c6c68d9b13c3bc3416c3234eddd48379.tar.gz aspectj-8ec8f0c0c6c68d9b13c3bc3416c3234eddd48379.zip |
making jython-2.1 available for scripting
Diffstat (limited to 'lib/jython/Lib/xml/dom/Comment.py')
-rw-r--r-- | lib/jython/Lib/xml/dom/Comment.py | 22 |
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'
|