Go to the latest version of this document.

# ``twisted`.`words`.`xish`.`domish`.`ExpatElementStream``

class documentation

`class ExpatElementStream: (source)`

View In Hierarchy

Undocumented

Method | `__init__` | Undocumented
Method | `parse` | Undocumented
Instance Variable | `currElem` | Undocumented
Instance Variable | `defaultNsStack` | Undocumented
Instance Variable | `DocumentEndEvent` | Undocumented
Instance Variable | `documentStarted` | Undocumented
Instance Variable | `DocumentStartEvent` | Undocumented
Instance Variable | `ElementEvent` | Undocumented
Instance Variable | `error` | Undocumented
Instance Variable | `localPrefixes` | Undocumented
Instance Variable | `parser` | Undocumented
Method | `_onCdata` | Undocumented
Method | `_onEndElement` | Undocumented
Method | `_onEndNamespace` | Undocumented
Method | `_onStartElement` | Undocumented
Method | `_onStartNamespace` | Undocumented

def __init__(self): (source)

Undocumented

def parse(self, buffer): (source)

Undocumented

currElem = (source)

Undocumented

defaultNsStack: `list[str]` = (source)

Undocumented

DocumentEndEvent = (source)

Undocumented

documentStarted: `int` = (source)

Undocumented

DocumentStartEvent = (source)

Undocumented

ElementEvent = (source)

Undocumented

error = (source)

Undocumented

localPrefixes: `dict` = (source)

Undocumented

parser = (source)

Undocumented

def _onCdata(self, data): (source)

Undocumented

def _onEndElement(self, _): (source)

Undocumented

def _onEndNamespace(self, prefix): (source)

Undocumented

def _onStartElement(self, name, attrs): (source)

Undocumented

def _onStartNamespace(self, prefix, uri): (source)

Undocumented