class twisted.words.xish.domish.SuxElementStream(sux.XMLParser): (source)
Undocumented
Method | __init__ | Undocumented |
Instance Variable | DocumentStartEvent | Undocumented |
Instance Variable | ElementEvent | Undocumented |
Instance Variable | DocumentEndEvent | Undocumented |
Instance Variable | currElem | Undocumented |
Instance Variable | rootElem | Undocumented |
Instance Variable | documentStarted | Undocumented |
Instance Variable | defaultNsStack | Undocumented |
Instance Variable | prefixStack | 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. |
Class Variable | entities | Undocumented |
Method | gotEntityReference | Encountered mnemonic entity reference |
Method | gotTagEnd | Encountered closing tag |
Inherited from XMLParser:
Instance Variable | state | Undocumented |
Instance Variable | encodings | Undocumented |
Class Variable | filename | Undocumented |
Class Variable | beExtremelyLenient | Undocumented |
Method | connectionMade | Called when a connection is made. |
Instance Variable | lineno | Undocumented |
Instance Variable | colno | Undocumented |
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 |
Instance Variable | commentbuf | Undocumented |
Method | do_comment | Undocumented |
Method | begin_tagstart | Undocumented |
Instance Variable | tagName | Undocumented |
Instance Variable | tagAttributes | Undocumented |
Instance Variable | termtag | Undocumented |
Instance Variable | endtag | Undocumented |
Method | do_tagstart | Undocumented |
Instance Variable | bodydata | Undocumented |
Method | begin_unentity | Undocumented |
Method | do_unentity | Undocumented |
Method | end_unentity | Undocumented |
Method | begin_expectcdata | Undocumented |
Instance Variable | cdatabuf | Undocumented |
Method | do_expectcdata | Undocumented |
Method | do_cdata | Undocumented |
Method | end_cdata | Undocumented |
Method | do_attrs | Undocumented |
Method | begin_doctype | Undocumented |
Instance Variable | doctype | Undocumented |
Method | do_doctype | Undocumented |
Method | end_doctype | Undocumented |
Method | do_waitforgt | Undocumented |
Method | begin_attrname | Undocumented |
Instance Variable | attrname | Undocumented |
Method | do_attrname | Undocumented |
Instance Variable | attrval | Undocumented |
Method | do_beforeattrval | Undocumented |
Method | begin_beforeeq | Undocumented |
Method | do_beforeeq | Undocumented |
Method | begin_attrval | Undocumented |
Instance Variable | quotetype | 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 |
Instance Variable | temptagdata | Undocumented |
Method | do_waitscriptendtag | Undocumented |
Method | begin_entityref | Undocumented |
Instance Variable | erefbuf | Undocumented |
Instance Variable | erefextra | Undocumented |
Method | do_entityref | Undocumented |
Method | end_entityref | Undocumented |
Method | begin_spacebodydata | Undocumented |
Method | gotDoctype | Encountered DOCTYPE |
Instance Variable | _prepend | Undocumented |
Instance Variable | _leadingBodyData | Undocumented |
Method | _parseError | Undocumented |
Method | _buildStateTable | Return a dictionary of begin, do, end state function tuples |
Method | _decode | Undocumented |
Instance Variable | _attrname_termtag | Undocumented |
Instance Variable | _beforeeq_termtag | Undocumented |
Instance Variable | _after_slash_closed | Undocumented |
Inherited from Protocol (via XMLParser):
Class Variable | factory | Undocumented |
Method | logPrefix | Return a prefix matching the class name, to identify log messages related to this protocol instance. |
Inherited from BaseProtocol (via XMLParser, Protocol):
Instance Variable | connected | Undocumented |
Instance Variable | transport | Undocumented |
Method | makeConnection | Make a connection to a transport and a server. |
Encountered an opening tag.
Default behaviour is to print.
Encountered text
Default behaviour is to print.
Encountered CDATA
Default behaviour is to call the gotText method
Encountered comment.
Default behaviour is to ignore.
Encountered mnemonic entity reference
Default behaviour is to print.
Encountered closing tag
Default behaviour is to print.