diff options
Diffstat (limited to 'doc/man/man3/tqxmlsimplereader.3qt')
-rw-r--r-- | doc/man/man3/tqxmlsimplereader.3qt | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/doc/man/man3/tqxmlsimplereader.3qt b/doc/man/man3/tqxmlsimplereader.3qt index 9784d11f6..524a60142 100644 --- a/doc/man/man3/tqxmlsimplereader.3qt +++ b/doc/man/man3/tqxmlsimplereader.3qt @@ -1,5 +1,5 @@ '\" t -.TH QXmlSimpleReader 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQXmlSimpleReader 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- .\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the .\" license file included in the distribution for a complete license .\" statement. @@ -7,34 +7,34 @@ .ad l .nh .SH NAME -QXmlSimpleReader \- Implementation of a simple XML reader (parser) +TQXmlSimpleReader \- Implementation of a simple XML reader (parser) .SH SYNOPSIS All the functions in this class are reentrant when TQt is built with thread support.</p> .PP -\fC#include <ntqxml.h>\fR +\fC#include <tqxml.h>\fR .PP -Inherits QXmlReader. +Inherits TQXmlReader. .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQXmlSimpleReader\fR ()" +.BI "\fBTQXmlSimpleReader\fR ()" .br .ti -1c -.BI "virtual \fB~QXmlSimpleReader\fR ()" +.BI "virtual \fB~TQXmlSimpleReader\fR ()" .br .ti -1c .BI "virtual void \fBsetFeature\fR ( const TQString & name, bool value )" .br .ti -1c -.BI "virtual bool \fBparse\fR ( const QXmlInputSource * input, bool incremental )" +.BI "virtual bool \fBparse\fR ( const TQXmlInputSource * input, bool incremental )" .br .ti -1c .BI "virtual bool \fBparseContinue\fR ()" .br .in -1c .SH DESCRIPTION -The QXmlSimpleReader class provides an implementation of a simple XML reader (parser). +The TQXmlSimpleReader class provides an implementation of a simple XML reader (parser). .PP This XML reader is sufficient for simple parsing tasks. The reader: .TP @@ -48,7 +48,7 @@ Documents are parsed with a call to parse(). .PP See also XML. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QXmlSimpleReader::QXmlSimpleReader ()" +.SH "TQXmlSimpleReader::TQXmlSimpleReader ()" Constructs a simple XML reader with the following feature settings: <center>.nf .TS l - l. Feature Setting \fIhttp://xml.org/sax/features/namespaces\fR TRUE \fIhttp://xml.org/sax/features/namespace-prefixes\fR FALSE \fIhttp://trolltech.com/xml/features/report-whitespace-only-CharData\fR TRUE \fIhttp://trolltech.com/xml/features/report-start-end-entity\fR @@ -59,9 +59,9 @@ l - l. Feature Setting \fIhttp://xml.org/sax/features/namespaces\fR TRUE \fIhttp More information about features can be found in the TQt SAX2 overview. .PP See also setFeature(). -.SH "QXmlSimpleReader::~QXmlSimpleReader ()\fC [virtual]\fR" +.SH "TQXmlSimpleReader::~TQXmlSimpleReader ()\fC [virtual]\fR" Destroys the simple XML reader. -.SH "bool QXmlSimpleReader::parse ( const QXmlInputSource * input, bool incremental )\fC [virtual]\fR" +.SH "bool TQXmlSimpleReader::parse ( const TQXmlInputSource * input, bool incremental )\fC [virtual]\fR" Reads an XML document from \fIinput\fR and parses it. Returns FALSE if the parsing detects an error; otherwise returns TRUE. .PP If \fIincremental\fR is TRUE, the parser does not return FALSE when it reaches the end of the \fIinput\fR without reaching the end of the XML file. Instead it stores the state of the parser so that parsing can be continued at a later stage when more data is available. You can use the function parseContinue() to continue with parsing. This class stores a pointer to the input source \fIinput\fR and the parseContinue() function tries to read from that input souce. This means that you should not delete the input source \fIinput\fR until you've finished your calls to parseContinue(). If you call this function with \fIincremental\fR TRUE whilst an incremental parse is in progress a new parsing session will be started and the previous session lost. @@ -72,26 +72,26 @@ See also parseContinue() and QSocket. .PP Examples: .)l xml/tagreader-with-features/tagreader.cpp and xml/tagreader/tagreader.cpp. -.SH "bool QXmlSimpleReader::parseContinue ()\fC [virtual]\fR" -Continues incremental parsing; this function reads the input from the QXmlInputSource that was specified with the last parse() command. To use this function, you \fImust\fR have called parse() with the incremental argument set to TRUE. +.SH "bool TQXmlSimpleReader::parseContinue ()\fC [virtual]\fR" +Continues incremental parsing; this function reads the input from the TQXmlInputSource that was specified with the last parse() command. To use this function, you \fImust\fR have called parse() with the incremental argument set to TRUE. .PP Returns FALSE if a parsing error occurs; otherwise returns TRUE. .PP -If the input source returns an empty string for the function QXmlInputSource::data(), then this means that the end of the XML file has been reached; this is quite important, especially if you want to use the reader to parse more than one XML file. +If the input source returns an empty string for the function TQXmlInputSource::data(), then this means that the end of the XML file has been reached; this is quite important, especially if you want to use the reader to parse more than one XML file. .PP The case of the end of the XML file being reached without having finished parsing is not considered to be an error: you can continue parsing at a later stage by calling this function again when there is more data available to parse. .PP -This function assumes that the end of the XML document is reached if the QXmlInputSource::next() function returns QXmlInputSource::EndOfDocument. If the parser has not finished parsing when it encounters this symbol, it is an error and FALSE is returned. +This function assumes that the end of the XML document is reached if the TQXmlInputSource::next() function returns TQXmlInputSource::EndOfDocument. If the parser has not finished parsing when it encounters this symbol, it is an error and FALSE is returned. .PP -See also parse() and QXmlInputSource::next(). -.SH "void QXmlSimpleReader::setFeature ( const TQString & name, bool value )\fC [virtual]\fR" +See also parse() and TQXmlInputSource::next(). +.SH "void TQXmlSimpleReader::setFeature ( const TQString & name, bool value )\fC [virtual]\fR" Sets the state of the feature \fIname\fR to \fIvalue\fR: .PP If the feature is not recognized, it is ignored. .PP The following features are supported: <center>.nf .TS -l - l. Feature Notes \fIhttp://xml.org/sax/features/namespaces\fR If this feature is TRUE, namespace processing is performed. \fIhttp://xml.org/sax/features/namespace-prefixes\fR If this feature is TRUE, the the original prefixed names and attributes used for namespace declarations are reported. \fIhttp://trolltech.com/xml/features/report-whitespace-only-CharData\fR If this feature is TRUE, CharData that only contain whitespace are not ignored, but are reported via QXmlContentHandler::characters(). \fIhttp://trolltech.com/xml/features/report-start-end-entity\fR +l - l. Feature Notes \fIhttp://xml.org/sax/features/namespaces\fR If this feature is TRUE, namespace processing is performed. \fIhttp://xml.org/sax/features/namespace-prefixes\fR If this feature is TRUE, the the original prefixed names and attributes used for namespace declarations are reported. \fIhttp://trolltech.com/xml/features/report-whitespace-only-CharData\fR If this feature is TRUE, CharData that only contain whitespace are not ignored, but are reported via TQXmlContentHandler::characters(). \fIhttp://trolltech.com/xml/features/report-start-end-entity\fR .TE .fi </center> @@ -114,10 +114,10 @@ See also feature() and hasFeature(). .PP Example: xml/tagreader-with-features/tagreader.cpp. .PP -Reimplemented from QXmlReader. +Reimplemented from TQXmlReader. .SH "SEE ALSO" -.BR http://doc.trolltech.com/qxmlsimplereader.html +.BR http://doc.trolltech.com/tqxmlsimplereader.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the |