twisted.web.microdom.MicroDOMParser(XMLParser)
class documentationtwisted.web.microdom
View Source
(View In Hierarchy)
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. |
Encountered DOCTYPE
This is really grotty: it basically just gives you everything between '<!DOCTYPE' and '>' as an argument.
Encountered an opening tag.
Default behaviour is to print.
Encountered text
Default behaviour is to print.
Encountered comment.
Default behaviour is to ignore.
Encountered mnemonic entity reference
Default behaviour is to print.
Encountered CDATA
Default behaviour is to call the gotText method
Encountered closing tag
Default behaviour is to print.
End the last state we were in.