Undocumented
Method __init__ Undocumented
Method shouldPreserveSpace Undocumented
Method gotDoctype Encountered DOCTYPE
Method gotTagStart Encountered an opening tag.
Method gotText Encountered text
Method gotComment Encountered comment.
Method gotEntityReference Encountered mnemonic entity reference
Method gotCData Encountered CDATA
Method gotTagEnd Encountered closing tag
Method connectionLost End the last state we were in.
Method _getparent Undocumented
Method _fixScriptElement Undocumented
Method _gotStandalone Undocumented

Inherited from BaseProtocol (via XMLParser, Protocol):

Method makeConnection Make a connection to a transport and a server.

Inherited from BaseProtocol (via XMLParser, Protocol):

Method makeConnection Make a connection to a transport and a server.

Inherited from BaseProtocol (via XMLParser, Protocol):

Method makeConnection Make a connection to a transport and a server.
def __init__(self, beExtremelyLenient=0, caseInsensitive=1, preserveCase=0, soonClosers=soonClosers, laterClosers=laterClosers): (source)
Undocumented
def shouldPreserveSpace(self): (source)
Undocumented
def _getparent(self): (source)
Undocumented
def _fixScriptElement(self, el): (source)
Undocumented
def gotDoctype(self, doctype): (source)

Encountered DOCTYPE

This is really grotty: it basically just gives you everything between '<!DOCTYPE' and '>' as an argument.

def gotTagStart(self, name, attributes): (source)

Encountered an opening tag.

Default behaviour is to print.

def _gotStandalone(self, factory, data): (source)
Undocumented
def gotText(self, data): (source)

Encountered text

Default behaviour is to print.

def gotComment(self, data): (source)

Encountered comment.

Default behaviour is to ignore.

def gotEntityReference(self, entityRef): (source)

Encountered mnemonic entity reference

Default behaviour is to print.

def gotCData(self, cdata): (source)

Encountered CDATA

Default behaviour is to call the gotText method

def gotTagEnd(self, name): (source)

Encountered closing tag

Default behaviour is to print.

def connectionLost(self, reason): (source)
API Documentation for Twisted, generated by pydoctor at 2017-06-11 10:59:01.