Package OFS :: Module ZDOM :: Class ElementWithAttributes
[show private | hide private]
[frames | no frames]

Class ElementWithAttributes

Node --+    
       |    
 Element --+
           |
          ElementWithAttributes

Known Subclasses:
PropertyManager

Elements that allow DOM access to Zope properties of type 'string'.

Note: This sub-class should only be used by PropertyManagers
Method Summary
  getAttribute(self, name)
Retrieves an attribute value by name.
  getAttributeNode(self, name)
Retrieves an Attr node by name or None if there is no such attribute.
  getAttributes(self)
Returns a NamedNodeMap containing the attributes of this node (if it is an element) or None otherwise.
Inherited from Element: getChildNodes, getElementsByTagName, getFirstChild, getLastChild, getNextSibling, getNodeName, getNodeType, getParentNode, getPreviousSibling, getTagName
Inherited from Node: getNodeValue, getOwnerDocument, hasChildNodes

Class Variable Summary
Implements __implemented__ = <implementedBy OFS.ZDOM.ElementWithAtt...
ClassProvides __provides__ = <zope.interface.declarations.ClassProvide...
Inherited from Element: __ac_permissions__
Inherited from Node: __providedBy__

Method Details

getAttribute(self, name)

Retrieves an attribute value by name.
Overrides:
OFS.ZDOM.Element.getAttribute

getAttributeNode(self, name)

Retrieves an Attr node by name or None if there is no such attribute.
Overrides:
OFS.ZDOM.Element.getAttributeNode

getAttributes(self)

Returns a NamedNodeMap containing the attributes of this node (if it is an element) or None otherwise.
Overrides:
OFS.ZDOM.Node.getAttributes

Class Variable Details

__implemented__

Type:
Implements
Value:
<implementedBy OFS.ZDOM.ElementWithAttributes>                         

__provides__

Type:
ClassProvides
Value:
<zope.interface.declarations.ClassProvides object at 0x1590210>        

Generated by Epydoc 2.1 on Thu Aug 16 09:55:10 2007 http://epydoc.sf.net