Table of Contents

Class: Element ../HappyDoc-r2_1/happydoclib/docstring/StructuredText/STDOM.py

Element interface

Base Classes   
Node
Methods   
_get_Attribute
_get_AttributeNode
_get_Attributes
_get_ElementsByTagName
_get_NodeName
_get_NodeType
_get_NodeValue
_get_ParentNode
_get_TagName
getAttribute
getAttributeNode
getAttributes
getElementsByTagName
getNodeName
getNodeType
getNodeValue
getParentNode
getTagName
  _get_Attribute 
_get_Attribute ( self,  name )

  _get_AttributeNode 
_get_AttributeNode ( self,  name )

  _get_Attributes 
_get_Attributes ( self )

  _get_ElementsByTagName 
_get_ElementsByTagName ( self,  tagname )

  _get_NodeName 
_get_NodeName ( self )

  _get_NodeType 
_get_NodeType ( self )

  _get_NodeValue 
_get_NodeValue (
        self,
        type=type,
        st=type( '' ),
        )

  _get_ParentNode 
_get_ParentNode ( self )

  _get_TagName 
_get_TagName ( self )

  getAttribute 
getAttribute ( self,  name )

Retrieves an attribute value by name.

  getAttributeNode 
getAttributeNode ( self,  name )

Retrieves an Attr node by name or None if there is no such attribute.

  getAttributes 
getAttributes ( self )

  getElementsByTagName 
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.

  getNodeName 
getNodeName ( self )

The name of this node, depending on its type

  getNodeType 
getNodeType ( self )

A code representing the type of the node.

  getNodeValue 
getNodeValue (
        self,
        type=type,
        st=type( '' ),
        )

  getParentNode 
getParentNode ( self )

The parent of this node. All nodes except Document DocumentFragment and Attr may have a parent

  getTagName 
getTagName ( self )

The name of the element


Table of Contents

This document was automatically generated on Sat Aug 24 16:57:29 2002 by HappyDoc version 2.1