t.w.x.d.SuxElementStream(sux.XMLParser) : class documentation

Part of twisted.words.xish.domish View Source View In Hierarchy

Undocumented
Method __init__ Undocumented
Method parse Undocumented
Method findUri Undocumented
Method gotTagStart Encountered an opening tag.
Method gotText Encountered text
Method gotCData Encountered CDATA
Method gotComment Encountered comment.
Method gotEntityReference Encountered mnemonic entity reference
Method gotTagEnd Encountered closing tag

Inherited from XMLParser:

Method connectionMade Called when a connection is made.
Method saveMark Get the line number and column of the last character parsed
Method maybeBodyData Undocumented
Method dataReceived Called whenever data is received.
Method connectionLost End the last state we were in.
Method do_begin Undocumented
Method begin_comment Undocumented
Method do_comment Undocumented
Method begin_tagstart Undocumented
Method do_tagstart Undocumented
Method begin_unentity Undocumented
Method do_unentity Undocumented
Method end_unentity Undocumented
Method begin_expectcdata Undocumented
Method do_expectcdata Undocumented
Method do_cdata Undocumented
Method end_cdata Undocumented
Method do_attrs Undocumented
Method begin_doctype Undocumented
Method do_doctype Undocumented
Method end_doctype Undocumented
Method do_waitforgt Undocumented
Method begin_attrname Undocumented
Method do_attrname Undocumented
Method do_beforeattrval Undocumented
Method begin_beforeeq Undocumented
Method do_beforeeq Undocumented
Method begin_attrval Undocumented
Method do_attrval Undocumented
Method end_attrval Undocumented
Method begin_messyattr Undocumented
Method do_messyattr Undocumented
Method end_messyattr Undocumented
Method begin_afterslash Undocumented
Method do_afterslash Undocumented
Method begin_bodydata Undocumented
Method do_bodydata Undocumented
Method end_bodydata Undocumented
Method do_waitforendscript Undocumented
Method begin_waitscriptendtag Undocumented
Method do_waitscriptendtag Undocumented
Method begin_entityref Undocumented
Method do_entityref Undocumented
Method end_entityref Undocumented
Method begin_spacebodydata Undocumented
Method gotDoctype Encountered DOCTYPE
Method _parseError Undocumented
Method _buildStateTable Return a dictionary of begin, do, end state function tuples
Method _decode Undocumented

Inherited from BaseProtocol (via XMLParser, Protocol):

Method makeConnection Make a connection to a transport and a server.
def __init__(self): (source)
Undocumented
def parse(self, buffer): (source)
Undocumented
def findUri(self, prefix): (source)
Undocumented
def gotTagStart(self, name, attributes): (source)

Encountered an opening tag.

Default behaviour is to print.
def gotText(self, data): (source)

Encountered text

Default behaviour is to print.
def gotCData(self, data): (source)

Encountered CDATA

Default behaviour is to call the gotText method
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 gotTagEnd(self, name): (source)

Encountered closing tag

Default behaviour is to print.
API Documentation for Twisted, generated by pydoctor at 2011-10-27 16:27:37.