| Trees | Index | Help |
|
|---|
| Package OFS :: Module ZDOM :: Class Element |
|
Node --+
|
Element
ElementWithAttributes,
Item| Method Summary | |
|---|---|
Retrieves an attribute value by name. | |
Retrieves an Attr node by name or None if there is no such attribute. | |
Returns a NodeList that contains all children of this node. | |
Returns a NodeList of all the Elements with a given tag name in the order in which they would be encountered in a preorder traversal of the Document tree. | |
The first child of this node. | |
The last child of this node. | |
The node immediately preceding this node. | |
The name of this node, depending on its type | |
A code representing the type of the node. | |
The parent of this node. | |
The node immediately preceding this node. | |
The name of the element | |
Inherited from Node:
getAttributes,
getNodeValue,
getOwnerDocument,
hasChildNodes
| |
| Class Variable Summary | |
|---|---|
tuple |
__ac_permissions__ = (('Access contents information', ('...
|
Implements |
__implemented__ = <implementedBy OFS.ZDOM.Element>
|
ClassProvides |
__provides__ = <zope.interface.declarations.ClassProvide...
|
Inherited from Node:
__providedBy__
| |
| Method Details |
|---|
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. |
getChildNodes(self)Returns a NodeList that contains all children of this node. If there are no children, this is a empty NodeList
|
getElementsByTagName(self, tagname)Returns a NodeList of all the Elements with a given tag name in the order in which they would be encountered in a preorder traversal of the Document tree. Parameter: tagname The name of the tag to match (* = all tags). Return Value: A new NodeList object containing all the matched Elements. |
getFirstChild(self)The first child of this node. If there is no such node this returns None
|
getLastChild(self)The last child of this node. If there is no such node this returns None.
|
getNextSibling(self)The node immediately preceding this node. If there is no such node, this returns None.
|
getNodeName(self)The name of this node, depending on its type
|
getNodeType(self)A code representing the type of the node. |
getParentNode(self)The parent of this node. All nodes except Document DocumentFragment and Attr may have a parent
|
getPreviousSibling(self)The node immediately preceding this node. If there is no such node, this returns None.
|
getTagName(self)The name of the element |
| Class Variable Details |
|---|
__ac_permissions__
|
__implemented__
|
__provides__
|
| Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Thu Aug 16 09:55:10 2007 | http://epydoc.sf.net |