~vil/pydev/upstream

« back to all changes in this revision

Viewing changes to org.python.pydev.jython/Lib/xml/dom/html/HTMLQuoteElement.py

  • Committer: Vladimír Lapáček
  • Date: 2006-08-30 18:38:44 UTC
  • Revision ID: vladimir.lapacek@gmail.com-20060830183844-f4d82c1239a7770a
Initial import of upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
########################################################################
 
2
#
 
3
# File Name:            HTMLQuoteElement
 
4
#
 
5
# Documentation:        http://docs.4suite.com/4DOM/HTMLQuoteElement.html
 
6
#
 
7
 
 
8
### This file is automatically generated by GenerateHtml.py.
 
9
### DO NOT EDIT!
 
10
 
 
11
"""
 
12
WWW: http://4suite.com/4DOM         e-mail: support@4suite.com
 
13
 
 
14
Copyright (c) 2000 Fourthought Inc, USA.   All Rights Reserved.
 
15
See  http://4suite.com/COPYRIGHT  for license and copyright information
 
16
"""
 
17
 
 
18
import string
 
19
from xml.dom import Node
 
20
from xml.dom.html.HTMLElement import HTMLElement
 
21
 
 
22
class HTMLQuoteElement(HTMLElement):
 
23
 
 
24
    def __init__(self, ownerDocument, nodeName):
 
25
        HTMLElement.__init__(self, ownerDocument, nodeName)
 
26
 
 
27
    ### Attribute Methods ###
 
28
 
 
29
    def _get_cite(self):
 
30
        return self.getAttribute("CITE")
 
31
 
 
32
    def _set_cite(self, value):
 
33
        self.setAttribute("CITE", value)
 
34
 
 
35
    ### Attribute Access Mappings ###
 
36
 
 
37
    _readComputedAttrs = HTMLElement._readComputedAttrs.copy()
 
38
    _readComputedAttrs.update({
 
39
        "cite" : _get_cite
 
40
        })
 
41
 
 
42
    _writeComputedAttrs = HTMLElement._writeComputedAttrs.copy()
 
43
    _writeComputedAttrs.update({
 
44
        "cite" : _set_cite
 
45
        })
 
46
 
 
47
    _readOnlyAttrs = filter(lambda k,m=_writeComputedAttrs: not m.has_key(k),
 
48
                     HTMLElement._readOnlyAttrs + _readComputedAttrs.keys())