|
| 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