class documentation
class MicroDOMParser(XMLParser): (source)
Constructor: MicroDOMParser(beExtremelyLenient, caseInsensitive, preserveCase, soonClosers, laterClosers)
Undocumented
Method | __init__ |
Undocumented |
Method | connection |
End the last state we were in. |
Method | got |
Encountered CDATA |
Method | got |
Encountered comment. |
Method | got |
Encountered DOCTYPE |
Method | got |
Encountered mnemonic entity reference |
Method | got |
Encountered closing tag |
Method | got |
Encountered an opening tag. |
Method | got |
Encountered text |
Method | should |
Undocumented |
Constant | COMMENT |
Undocumented |
Instance Variable | be |
Undocumented |
Instance Variable | case |
Undocumented |
Instance Variable | documents |
Undocumented |
Instance Variable | elementstack |
Undocumented |
Instance Variable | later |
Undocumented |
Instance Variable | nsstack |
Undocumented |
Instance Variable | preserve |
Undocumented |
Instance Variable | soon |
Undocumented |
Method | _fix |
Undocumented |
Method | _getparent |
Undocumented |
Method | _got |
Undocumented |
Instance Variable | _mddoctype |
Undocumented |
Inherited from XMLParser
:
Method | begin |
Undocumented |
Method | begin |
Undocumented |
Method | begin |
Undocumented |
Method | begin |
Undocumented |
Method | begin |
Undocumented |
Method | begin |
Undocumented |
Method | begin |
Undocumented |
Method | begin |
Undocumented |
Method | begin |
Undocumented |
Method | begin |
Undocumented |
Method | begin |
Undocumented |
Method | begin |
Undocumented |
Method | begin |
Undocumented |
Method | begin |
Undocumented |
Method | connection |
Called when a connection is made. |
Method | data |
Called whenever data is received. |
Method | do |
Undocumented |
Method | do |
Undocumented |
Method | do |
Undocumented |
Method | do |
Undocumented |
Method | do |
Undocumented |
Method | do |
Undocumented |
Method | do |
Undocumented |
Method | do |
Undocumented |
Method | do |
Undocumented |
Method | do |
Undocumented |
Method | do |
Undocumented |
Method | do |
Undocumented |
Method | do |
Undocumented |
Method | do |
Undocumented |
Method | do |
Undocumented |
Method | do |
Undocumented |
Method | do |
Undocumented |
Method | do |
Undocumented |
Method | do |
Undocumented |
Method | end |
Undocumented |
Method | end |
Undocumented |
Method | end |
Undocumented |
Method | end |
Undocumented |
Method | end |
Undocumented |
Method | end |
Undocumented |
Method | end |
Undocumented |
Method | maybe |
Undocumented |
Method | save |
Get the line number and column of the last character parsed |
Class Variable | filename |
Undocumented |
Instance Variable | attrname |
Undocumented |
Instance Variable | attrval |
Undocumented |
Instance Variable | bodydata |
Undocumented |
Instance Variable | cdatabuf |
Undocumented |
Instance Variable | colno |
Undocumented |
Instance Variable | commentbuf |
Undocumented |
Instance Variable | doctype |
Undocumented |
Instance Variable | encodings |
Undocumented |
Instance Variable | endtag |
Undocumented |
Instance Variable | erefbuf |
Undocumented |
Instance Variable | erefextra |
Undocumented |
Instance Variable | lineno |
Undocumented |
Instance Variable | quotetype |
Undocumented |
Instance Variable | state |
Undocumented |
Instance Variable | tag |
Undocumented |
Instance Variable | tag |
Undocumented |
Instance Variable | temptagdata |
Undocumented |
Instance Variable | termtag |
Undocumented |
Method | _build |
Return a dictionary of begin, do, end state function tuples |
Method | _decode |
Undocumented |
Method | _parse |
Undocumented |
Instance Variable | _after |
Undocumented |
Instance Variable | _attrname |
Undocumented |
Instance Variable | _beforeeq |
Undocumented |
Instance Variable | _leading |
Undocumented |
Instance Variable | _prepend |
Undocumented |
Inherited from Protocol
(via XMLParser
):
Method | log |
Return a prefix matching the class name, to identify log messages related to this protocol instance. |
Class Variable | factory |
Undocumented |
Inherited from BaseProtocol
(via XMLParser
, Protocol
):
Method | make |
Make a connection to a transport and a server. |
Instance Variable | connected |
Undocumented |
Instance Variable | transport |
Undocumented |
def __init__(self, beExtremelyLenient=0, caseInsensitive=1, preserveCase=0, soonClosers=soonClosers, laterClosers=laterClosers):
(source)
¶
Undocumented
overrides
twisted.web.sux.XMLParser.gotCData
Encountered CDATA
Default behaviour is to call the gotText method
overrides
twisted.web.sux.XMLParser.gotDoctype
Encountered DOCTYPE
This is really grotty: it basically just gives you everything between '<!DOCTYPE' and '>' as an argument.
overrides
twisted.web.sux.XMLParser.gotTagEnd
Encountered closing tag
Default behaviour is to print.
overrides
twisted.web.sux.XMLParser.gotTagStart
Encountered an opening tag.
Default behaviour is to print.