Table of Contents

Class: Document Zope-2.2.1-src/lib/python/OFS/ZDOM.py

Document Interface

Base Classes   
Acquisition.Explicit
Node
Methods   
getChildNodes
getDoctype
getDocumentElement
getFirstChild
getImplementation
getLastChild
getNodeName
getNodeType
getOwnerDocument
hasChildNodes
  getChildNodes 
getChildNodes ( self )

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

  getDoctype 
getDoctype ( self )

The Document Type Declaration associated with this document. For HTML documents as well as XML documents without a document type declaration this returns null.

  getDocumentElement 
getDocumentElement ( self )

This is a convenience attribute that allows direct access to the child node that is the root element of the document.

  getFirstChild 
getFirstChild ( self )

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

  getImplementation 
getImplementation ( self )

The DOMImplementation object that handles this document.

  getLastChild 
getLastChild ( self )

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

  getNodeName 
getNodeName ( self )

The name of this node, depending on its type

  getNodeType 
getNodeType ( self )

A code representing the type of the node.

  getOwnerDocument 
getOwnerDocument ( self )

The Document object associated with this node. When this is a document this is None

  hasChildNodes 
hasChildNodes ( self )

Returns true if the node has any children, false if it doesn't.


Table of Contents

This document was automatically generated on Mon Sep 4 07:33:06 2000 by HappyDoc version r0_6