Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 24d6da3

Browse files
committed
Added "stub" documentation for xml.dom.pulldom for Paul to fill out with
useful explanations.
1 parent ff87174 commit 24d6da3

3 files changed

Lines changed: 63 additions & 0 deletions

File tree

Doc/Makefile.deps

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ LIBFILES= $(MANSTYLES) $(COMMONTEX) \
172172
../lib/libpyexpat.tex \
173173
../lib/xmldom.tex \
174174
../lib/xmldomminidom.tex \
175+
../lib/xmldompulldom.tex \
175176
../lib/xmlsax.tex \
176177
../lib/xmlsaxhandler.tex \
177178
../lib/xmlsaxutils.tex \

Doc/lib/lib.tex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,7 @@ \chapter*{Front Matter\label{front}}
236236
\input{libpyexpat}
237237
\input{xmldom}
238238
\input{xmldomminidom}
239+
\input{xmldompulldom}
239240
\input{xmlsax}
240241
\input{xmlsaxhandler}
241242
\input{xmlsaxutils}

Doc/lib/xmldompulldom.tex

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
\section{\module{xml.dom.pulldom} ---
2+
Support for building partial DOM trees}
3+
4+
\declaremodule{standard}{xml.dom.pulldom}
5+
\modulesynopsis{Support for building partial DOM trees from SAX events.}
6+
\moduleauthor{Paul Prescod}{[email protected]}
7+
8+
\versionadded{2.0}
9+
10+
\module{xml.dom.pulldom} allows building only selected portions of a
11+
Document Object Model representation of a document from SAX events.
12+
13+
14+
\begin{classdesc}{PullDOM}{\optional{documentFactory}}
15+
\class{xml.sax.handler.ContentHandler} implementation that ...
16+
\end{classdesc}
17+
18+
19+
\begin{classdesc}{DOMEventStream}{stream, parser, bufsize}
20+
...
21+
\end{classdesc}
22+
23+
24+
\begin{classdesc}{SAX2DOM}{\optional{documentFactory}}
25+
\class{xml.sax.handler.ContentHandler} implementation that ...
26+
\end{classdesc}
27+
28+
29+
\begin{funcdesc}{parse}{stream_or_string\optional{,
30+
parser\optional{, bufsize}}}
31+
...
32+
\end{funcdesc}
33+
34+
35+
\begin{funcdesc}{parseString}{string\optional{, parser}}
36+
...
37+
\end{funcdesc}
38+
39+
40+
\begin{datadesc}{default_bufsize}
41+
Default value for the \var{busize} parameter to \function{parse()}.
42+
\versionchanged[The value of this variable can be changed before
43+
calling \function{parse()} and the new value will
44+
take effect]{2.1}
45+
\end{datadesc}
46+
47+
48+
\subsection{DOMEventStream Objects \label{domeventstream-objects}}
49+
50+
51+
\begin{methoddesc}[DOMEventStream]{getEvent}{}
52+
...
53+
\end{methoddesc}
54+
55+
\begin{methoddesc}[DOMEventStream]{expandNode}{node}
56+
...
57+
\end{methoddesc}
58+
59+
\begin{methoddesc}[DOMEventStream]{reset}{}
60+
...
61+
\end{methoddesc}

0 commit comments

Comments
 (0)