Home | Trees | Index | Help |
---|
Package twisted :: Package web :: Module microdom :: Class MicroDOMParser |
|
BaseProtocol
--+ |Protocol
--+ |XMLParser
--+ | MicroDOMParser
Method Summary | |
---|---|
__init__(self,
beExtremelyLenient,
caseInsensitive,
preserveCase)
| |
begin_afterslash(self,
byte)
(inherited from XMLParser )
| |
begin_attrname(self,
byte)
(inherited from XMLParser )
| |
begin_attrval(self,
byte)
(inherited from XMLParser )
| |
begin_beforeeq(self,
byte)
(inherited from XMLParser )
| |
begin_bodydata(self,
byte)
(inherited from XMLParser )
| |
begin_comment(self,
byte)
(inherited from XMLParser )
| |
begin_doctype(self,
byte)
(inherited from XMLParser )
| |
begin_entityref(self,
byte)
(inherited from XMLParser )
| |
begin_expectcdata(self,
byte)
(inherited from XMLParser )
| |
begin_messyattr(self,
byte)
(inherited from XMLParser )
| |
begin_tagstart(self,
byte)
(inherited from XMLParser )
| |
(Deprecated) (inherited from Protocol )
| |
Called when the connection is shut down. | |
Called when a connection is made. (inherited from XMLParser )
| |
Called whenever data is received. (inherited from XMLParser )
| |
do_afterslash(self,
byte)
(inherited from XMLParser )
| |
do_attrname(self,
byte)
(inherited from XMLParser )
| |
do_attrs(self,
byte)
(inherited from XMLParser )
| |
do_attrval(self,
byte)
(inherited from XMLParser )
| |
do_beforeattrval(self,
byte)
(inherited from XMLParser )
| |
do_beforeeq(self,
byte)
(inherited from XMLParser )
| |
do_begin(self,
byte)
(inherited from XMLParser )
| |
do_bodydata(self,
byte)
(inherited from XMLParser )
| |
do_cdata(self,
byte)
(inherited from XMLParser )
| |
do_comment(self,
byte)
(inherited from XMLParser )
| |
do_doctype(self,
byte)
(inherited from XMLParser )
| |
do_entityref(self,
byte)
(inherited from XMLParser )
| |
do_expectcdata(self,
byte)
(inherited from XMLParser )
| |
do_messyattr(self,
byte)
(inherited from XMLParser )
| |
do_tagstart(self,
byte)
(inherited from XMLParser )
| |
do_waitforgt(self,
byte)
(inherited from XMLParser )
| |
end_attrval(self)
(inherited from XMLParser )
| |
end_bodydata(self)
(inherited from XMLParser )
| |
end_cdata(self)
(inherited from XMLParser )
| |
end_doctype(self)
(inherited from XMLParser )
| |
end_entityref(self)
(inherited from XMLParser )
| |
end_messyattr(self)
(inherited from XMLParser )
| |
Encountered CDATA | |
gotComment(self,
data)
| |
Encountered DOCTYPE | |
Encountered mnemonic entity reference | |
Encountered closing tag | |
Encountered an opening tag. | |
Encountered text | |
Make a connection to a transport and a server. (inherited from BaseProtocol )
| |
Get the line number and column of the last character parsed (inherited from XMLParser )
| |
shouldPreserveSpace(self)
| |
Return a dictionary of begin, do, end state function tuples (inherited from XMLParser )
| |
_decode(self,
data)
(inherited from XMLParser )
| |
_getparent(self)
| |
_gotStandalone(self,
factory,
data)
| |
_parseError(self,
message)
(inherited from XMLParser )
|
Class Variable Summary | |
---|---|
dict |
laterClosers
|
list |
soonClosers
|
dict |
_XMLParser__stateTable
|
Method Details |
---|
connectionLost(self, reason)Called when the connection is shut down. Clear any circular references here, and any external references to this Protocol. The connection has been closed.
|
gotCData(self, cdata)Encountered CDATA Default behaviour is to call the gotText method
|
gotDoctype(self, doctype)Encountered DOCTYPE This is really grotty: it basically just gives you everything between '<!DOCTYPE' and '>' as an argument.
|
gotEntityReference(self, entityRef)Encountered mnemonic entity reference Default behaviour is to print.
|
gotTagEnd(self, name)Encountered closing tag Default behaviour is to print.
|
gotTagStart(self, name, attributes)Encountered an opening tag. Default behaviour is to print.
|
gotText(self, data)Encountered text Default behaviour is to print.
|
Class Variable Details |
---|
laterClosers
|
soonClosers
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 1.1 on Fri Jun 27 03:49:01 2003 | http://epydoc.sf.net |