Public Member Functions | |
XMLContentHandler (const QString &path) | |
~XMLContentHandler () | |
![]() | |
QXmlDefaultHandler () | |
virtual | ~QXmlDefaultHandler () |
void | setDocumentLocator (QXmlLocator *locator) |
bool | startDocument () |
bool | endDocument () |
bool | startPrefixMapping (const QString &prefix, const QString &uri) |
bool | endPrefixMapping (const QString &prefix) |
bool | startElement (const QString &namespaceURI, const QString &localName, const QString &qName, const QXmlAttributes &atts) |
bool | endElement (const QString &namespaceURI, const QString &localName, const QString &qName) |
bool | characters (const QString &ch) |
bool | ignorableWhitespace (const QString &ch) |
bool | processingInstruction (const QString &target, const QString &data) |
bool | skippedEntity (const QString &name) |
bool | warning (const QXmlParseException &exception) |
bool | error (const QXmlParseException &exception) |
bool | fatalError (const QXmlParseException &exception) |
bool | notationDecl (const QString &name, const QString &publicId, const QString &systemId) |
bool | unparsedEntityDecl (const QString &name, const QString &publicId, const QString &systemId, const QString ¬ationName) |
bool | resolveEntity (const QString &publicId, const QString &systemId, QXmlInputSource *&ret) |
bool | startDTD (const QString &name, const QString &publicId, const QString &systemId) |
bool | endDTD () |
bool | startCDATA () |
bool | endCDATA () |
bool | comment (const QString &ch) |
bool | attributeDecl (const QString &eName, const QString &aName, const QString &type, const QString &valueDefault, const QString &value) |
bool | internalEntityDecl (const QString &name, const QString &value) |
bool | externalEntityDecl (const QString &name, const QString &publicId, const QString &systemId) |
QString | errorString () |
![]() | |
virtual | ~QXmlContentHandler () |
![]() | |
virtual | ~QXmlErrorHandler () |
![]() | |
virtual | ~QXmlDTDHandler () |
![]() | |
virtual | ~QXmlEntityResolver () |
![]() | |
virtual | ~QXmlLexicalHandler () |
![]() | |
virtual | ~QXmlDeclHandler () |
Private Types | |
enum | FieldNames { UnknownField = 0, TypeField = 1, NameField = 2, ArgsField = 3, TagField = 4, UrlField = 5, KeywordField = 6, TextField = 7 } |
Private Member Functions | |
bool | startElement (const QString &, const QString &, const QString &name, const QXmlAttributes &attrib) |
bool | endElement (const QString &, const QString &, const QString &name) |
bool | characters (const QString &ch) |
Private Attributes | |
Xapian::WritableDatabase | m_db |
Xapian::Document | m_doc |
Xapian::TermGenerator | m_indexer |
Xapian::Stem | m_stemmer |
std::string | m_data |
FieldNames | m_curFieldName |
This class is a wrapper around SAX style XML parser, which parses the file without first building a DOM tree in memory.
Definition at line 143 of file doxyindexer.cpp.
|
private |
Enumerator | |
---|---|
UnknownField | |
TypeField | |
NameField | |
ArgsField | |
TagField | |
UrlField | |
KeywordField | |
TextField |
Definition at line 163 of file doxyindexer.cpp.
|
inline |
|
inline |
Handler for inline text
Implements QXmlContentHandler.
Definition at line 265 of file doxyindexer.cpp.
|
inlineprivatevirtual |
Handler for an end tag. Called for </doc> and </field> tags
Implements QXmlContentHandler.
Definition at line 196 of file doxyindexer.cpp.
|
inlineprivatevirtual |
Handler for a start tag. Called for <doc> and <field> tags
Implements QXmlContentHandler.
Definition at line 176 of file doxyindexer.cpp.
|
private |
Definition at line 277 of file doxyindexer.cpp.
|
private |
Definition at line 276 of file doxyindexer.cpp.
|
private |
Definition at line 272 of file doxyindexer.cpp.
|
private |
Definition at line 273 of file doxyindexer.cpp.
|
private |
Definition at line 274 of file doxyindexer.cpp.
|
private |
Definition at line 275 of file doxyindexer.cpp.