Package nltk_lite :: Package contrib :: Module tree :: Class ElementTreeImplementation
[hide private]
[frames] | no frames]

Class ElementTreeImplementation

source code

object --+
         |
        ElementTreeImplementation

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)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
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

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

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
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, ElementClass)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)