Table of Contents

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

A node that can have children, or, more precisely, that implements the child access methods of the DOM.

Methods   
_get_ChildNodes
_get_FirstChild
_get_LastChild
getChildNodes
getFirstChild
getLastChild
  _get_ChildNodes 
_get_ChildNodes (
        self,
        type=type,
        st=type( '' ),
        )

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

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

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

Returns a NodeList that contains all children of this node. If there are no children, this is a empty NodeList

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

The first child of this node. If there is no such node this returns None

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

The last child of this node. If there is no such node this returns None.


Table of Contents

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