Package ptree :: Module etreeimpl :: Class ElementTreeImplementation
[hide private]
[frames] | no frames]

type ElementTreeImplementation

source code


Instances of this class can be used as drop-in replacements for the xml.etree.ElementTree module.

Nested Classes [hide private]
QName
_ElementTree
Instance Methods [hide private]
 
__init__(self, ElementClass) source code
 
Element(self, tag, attrib={}, **extra) source code
 
iterparse(self, source, events=None) source code
 
TreeBuilder(self, element_factory=None) source code
 
XMLTreeBuilder(self, html=0, target=None) source code
 
XMLParser(self, html=0, target=None) source code
 
ElementTree(self, element=None, file=None) source code
 
Comment(self, text=None) source code
 
ProcessingInstruction(self, target, text=None) source code
 
PI(self, target, text=None) source code
 
parse(self, source, parser=None) source code
 
XML(self, text) source code
 
XMLID(self, text) source code
 
fromstring(self, text) source code
Static Methods [hide private]
 
SubElement(parent, tag, attrib={}, **extra) source code
 
iselement(element) source code
 
dump(elem) source code
 
tostring(element, encoding=None) source code
Method Details [hide private]

__init__(self, ElementClass)
(Constructor)

source code 
Overrides: object.__init__
(inherited documentation)