Logo Search packages:      
Sourcecode: ocrfeeder version File versions  Download package

odf::element::Element Class Reference

Inheritance diagram for odf::element::Element:


List of all members.

Detailed Description

Creates a arbitrary element and is intended to be subclassed not used on its own.
    This element is the base of every element it defines a class which resembles
    a xml-element. The main advantage of this kind of implementation is that you don't
    have to create a toXML method for every different object. Every element
    consists of an attribute, optional subelements, optional text and optional cdata.

Definition at line 102 of file element.py.

Public Member Functions

def __init__
def addAttribute
def addAttrNS
def addCDATA
def addElement
def addText
def allowed_attributes
def getAttr
def hasChildren
def toXml

Public Attributes


Static Public Attributes

dictionary namespaces = {}
 nodeType = Node.ELEMENT_NODE
 parentNode = None

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index