The QXmlDefaultHandler class provides a default implementation of all XML handler classes. More...
#include <qxml.h>
Public Member Functions | |
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 () |
Public Member Functions inherited from QXmlContentHandler | |
virtual | ~QXmlContentHandler () |
Public Member Functions inherited from QXmlErrorHandler | |
virtual | ~QXmlErrorHandler () |
Public Member Functions inherited from QXmlDTDHandler | |
virtual | ~QXmlDTDHandler () |
Public Member Functions inherited from QXmlEntityResolver | |
virtual | ~QXmlEntityResolver () |
Public Member Functions inherited from QXmlLexicalHandler | |
virtual | ~QXmlLexicalHandler () |
Public Member Functions inherited from QXmlDeclHandler | |
virtual | ~QXmlDeclHandler () |
The QXmlDefaultHandler class provides a default implementation of all XML handler classes.
XML
Very often you are only interested in parts of the things that that the reader reports to you. This class simply implements a default behaviour of the handler classes (most of the time: do nothing). Normally this is the class you subclass for implementing your customized handler.
See also the Introduction to SAX2.
|
inline |
|
inlinevirtual |
|
virtual |
Does nothing.
Implements QXmlDeclHandler.
Does nothing.
Implements QXmlContentHandler.
Reimplemented in TagFileParser, BaseHandler< ProgramListingHandler >, BaseHandler< DocInternalHandler >, BaseHandler< ListItemHandler >, BaseHandler< TocListHandler >, BaseHandler< HighlightHandler >, BaseHandler< TocItemHandler >, BaseHandler< SectionHandler >, BaseHandler< LinkHandler >, BaseHandler< VerbatimHandler >, BaseHandler< GraphHandler >, BaseHandler< FormulaHandler >, BaseHandler< EMailHandler >, BaseHandler< ULinkHandler >, BaseHandler< VariableListEntryHandler >, BaseHandler< NodeHandler >, BaseHandler< ParameterItemHandler >, BaseHandler< CompoundHandler >, BaseHandler< LinkedTextHandler >, BaseHandler< EntryHandler >, BaseHandler< ChildNodeHandler >, BaseHandler< TableHandler >, BaseHandler< ParamHandler >, BaseHandler< HRulerHandler >, BaseHandler< DocHandler >, BaseHandler< SimpleSectHandler >, BaseHandler< TemplateParamListHandler >, BaseHandler< ParagraphHandler >, BaseHandler< RowHandler >, BaseHandler< SymbolHandler >, BaseHandler< ListOfAllMembersHandler >, BaseHandler< TitleHandler >, BaseHandler< OrderedListHandler >, BaseHandler< IncludeHandler >, BaseHandler< IndexEntryHandler >, BaseHandler< MainHandler >, BaseHandler< VariableListHandler >, BaseHandler< ImageHandler >, BaseHandler< EdgeLabelHandler >, BaseHandler< CodeLineHandler >, BaseHandler< AnchorHandler >, BaseHandler< ParameterHandler >, BaseHandler< ItemizedListHandler >, BaseHandler< DocSectionHandler >, BaseHandler< ParameterListHandler >, BaseHandler< MemberHandler >, BaseHandler< RefHandler >, BaseHandler< CopyHandler >, BaseHandler< DotFileHandler >, and BaseHandler< LineBreakHandler >.
Does nothing.
Implements QXmlLexicalHandler.
|
virtual |
Does nothing.
Implements QXmlLexicalHandler.
|
virtual |
Does nothing.
Implements QXmlContentHandler.
|
virtual |
Does nothing.
Implements QXmlLexicalHandler.
|
virtual |
Does nothing.
Implements QXmlContentHandler.
Reimplemented in LayoutParser, TagFileParser, BaseHandler< ProgramListingHandler >, BaseHandler< DocInternalHandler >, BaseHandler< ListItemHandler >, BaseHandler< TocListHandler >, BaseHandler< HighlightHandler >, BaseHandler< TocItemHandler >, BaseHandler< SectionHandler >, BaseHandler< LinkHandler >, BaseHandler< VerbatimHandler >, BaseHandler< GraphHandler >, BaseHandler< FormulaHandler >, BaseHandler< EMailHandler >, BaseHandler< ULinkHandler >, BaseHandler< VariableListEntryHandler >, BaseHandler< NodeHandler >, BaseHandler< ParameterItemHandler >, BaseHandler< CompoundHandler >, BaseHandler< LinkedTextHandler >, BaseHandler< EntryHandler >, BaseHandler< ChildNodeHandler >, BaseHandler< TableHandler >, BaseHandler< ParamHandler >, BaseHandler< HRulerHandler >, BaseHandler< DocHandler >, BaseHandler< SimpleSectHandler >, BaseHandler< TemplateParamListHandler >, BaseHandler< ParagraphHandler >, BaseHandler< RowHandler >, BaseHandler< SymbolHandler >, BaseHandler< ListOfAllMembersHandler >, BaseHandler< TitleHandler >, BaseHandler< OrderedListHandler >, BaseHandler< IncludeHandler >, BaseHandler< IndexEntryHandler >, BaseHandler< MainHandler >, BaseHandler< VariableListHandler >, BaseHandler< ImageHandler >, BaseHandler< EdgeLabelHandler >, BaseHandler< CodeLineHandler >, BaseHandler< AnchorHandler >, BaseHandler< ParameterHandler >, BaseHandler< ItemizedListHandler >, BaseHandler< DocSectionHandler >, BaseHandler< ParameterListHandler >, BaseHandler< MemberHandler >, BaseHandler< RefHandler >, BaseHandler< CopyHandler >, BaseHandler< DotFileHandler >, and BaseHandler< LineBreakHandler >.
Does nothing.
Implements QXmlContentHandler.
|
virtual |
Does nothing.
Implements QXmlErrorHandler.
|
virtual |
Returns the default error string.
Implements QXmlContentHandler.
Definition at line 1527 of file qxml.cpp.
|
virtual |
Does nothing.
Implements QXmlDeclHandler.
|
virtual |
Does nothing.
Implements QXmlErrorHandler.
Does nothing.
Implements QXmlContentHandler.
Does nothing.
Implements QXmlDeclHandler.
|
virtual |
Does nothing.
Implements QXmlDTDHandler.
|
virtual |
Does nothing.
Implements QXmlContentHandler.
|
virtual |
Always sets ret to 0, so that the reader will use the system identifier provided in the XML document.
Implements QXmlEntityResolver.
|
virtual |
Does nothing.
Implements QXmlContentHandler.
Reimplemented in BaseHandler< ProgramListingHandler >, BaseHandler< DocInternalHandler >, BaseHandler< ListItemHandler >, BaseHandler< TocListHandler >, BaseHandler< HighlightHandler >, BaseHandler< TocItemHandler >, BaseHandler< SectionHandler >, BaseHandler< LinkHandler >, BaseHandler< VerbatimHandler >, BaseHandler< GraphHandler >, BaseHandler< FormulaHandler >, BaseHandler< EMailHandler >, BaseHandler< ULinkHandler >, BaseHandler< VariableListEntryHandler >, BaseHandler< NodeHandler >, BaseHandler< ParameterItemHandler >, BaseHandler< CompoundHandler >, BaseHandler< LinkedTextHandler >, BaseHandler< EntryHandler >, BaseHandler< ChildNodeHandler >, BaseHandler< TableHandler >, BaseHandler< ParamHandler >, BaseHandler< HRulerHandler >, BaseHandler< DocHandler >, BaseHandler< SimpleSectHandler >, BaseHandler< TemplateParamListHandler >, BaseHandler< ParagraphHandler >, BaseHandler< RowHandler >, BaseHandler< SymbolHandler >, BaseHandler< ListOfAllMembersHandler >, BaseHandler< TitleHandler >, BaseHandler< OrderedListHandler >, BaseHandler< IncludeHandler >, BaseHandler< IndexEntryHandler >, BaseHandler< MainHandler >, BaseHandler< VariableListHandler >, BaseHandler< ImageHandler >, BaseHandler< EdgeLabelHandler >, BaseHandler< CodeLineHandler >, BaseHandler< AnchorHandler >, BaseHandler< ParameterHandler >, BaseHandler< ItemizedListHandler >, BaseHandler< DocSectionHandler >, BaseHandler< ParameterListHandler >, BaseHandler< MemberHandler >, BaseHandler< RefHandler >, BaseHandler< CopyHandler >, BaseHandler< DotFileHandler >, BaseHandler< LineBreakHandler >, and TagFileParser.
Does nothing.
Implements QXmlContentHandler.
Reimplemented in BaseHandler< ProgramListingHandler >, BaseHandler< DocInternalHandler >, BaseHandler< ListItemHandler >, BaseHandler< TocListHandler >, BaseHandler< HighlightHandler >, BaseHandler< TocItemHandler >, BaseHandler< SectionHandler >, BaseHandler< LinkHandler >, BaseHandler< VerbatimHandler >, BaseHandler< GraphHandler >, BaseHandler< FormulaHandler >, BaseHandler< EMailHandler >, BaseHandler< ULinkHandler >, BaseHandler< VariableListEntryHandler >, BaseHandler< NodeHandler >, BaseHandler< ParameterItemHandler >, BaseHandler< CompoundHandler >, BaseHandler< LinkedTextHandler >, BaseHandler< EntryHandler >, BaseHandler< ChildNodeHandler >, BaseHandler< TableHandler >, BaseHandler< ParamHandler >, BaseHandler< HRulerHandler >, BaseHandler< DocHandler >, BaseHandler< SimpleSectHandler >, BaseHandler< TemplateParamListHandler >, BaseHandler< ParagraphHandler >, BaseHandler< RowHandler >, BaseHandler< SymbolHandler >, BaseHandler< ListOfAllMembersHandler >, BaseHandler< TitleHandler >, BaseHandler< OrderedListHandler >, BaseHandler< IncludeHandler >, BaseHandler< IndexEntryHandler >, BaseHandler< MainHandler >, BaseHandler< VariableListHandler >, BaseHandler< ImageHandler >, BaseHandler< EdgeLabelHandler >, BaseHandler< CodeLineHandler >, BaseHandler< AnchorHandler >, BaseHandler< ParameterHandler >, BaseHandler< ItemizedListHandler >, BaseHandler< DocSectionHandler >, BaseHandler< ParameterListHandler >, BaseHandler< MemberHandler >, BaseHandler< RefHandler >, BaseHandler< CopyHandler >, BaseHandler< DotFileHandler >, and BaseHandler< LineBreakHandler >.
|
virtual |
Does nothing.
Implements QXmlLexicalHandler.
|
virtual |
Does nothing.
Implements QXmlContentHandler.
Reimplemented in LayoutParser, TagFileParser, BaseHandler< ProgramListingHandler >, BaseHandler< DocInternalHandler >, BaseHandler< ListItemHandler >, BaseHandler< TocListHandler >, BaseHandler< HighlightHandler >, BaseHandler< TocItemHandler >, BaseHandler< SectionHandler >, BaseHandler< LinkHandler >, BaseHandler< VerbatimHandler >, BaseHandler< GraphHandler >, BaseHandler< FormulaHandler >, BaseHandler< EMailHandler >, BaseHandler< ULinkHandler >, BaseHandler< VariableListEntryHandler >, BaseHandler< NodeHandler >, BaseHandler< ParameterItemHandler >, BaseHandler< CompoundHandler >, BaseHandler< LinkedTextHandler >, BaseHandler< EntryHandler >, BaseHandler< ChildNodeHandler >, BaseHandler< TableHandler >, BaseHandler< ParamHandler >, BaseHandler< HRulerHandler >, BaseHandler< DocHandler >, BaseHandler< SimpleSectHandler >, BaseHandler< TemplateParamListHandler >, BaseHandler< ParagraphHandler >, BaseHandler< RowHandler >, BaseHandler< SymbolHandler >, BaseHandler< ListOfAllMembersHandler >, BaseHandler< TitleHandler >, BaseHandler< OrderedListHandler >, BaseHandler< IncludeHandler >, BaseHandler< IndexEntryHandler >, BaseHandler< MainHandler >, BaseHandler< VariableListHandler >, BaseHandler< ImageHandler >, BaseHandler< EdgeLabelHandler >, BaseHandler< CodeLineHandler >, BaseHandler< AnchorHandler >, BaseHandler< ParameterHandler >, BaseHandler< ItemizedListHandler >, BaseHandler< DocSectionHandler >, BaseHandler< ParameterListHandler >, BaseHandler< MemberHandler >, BaseHandler< RefHandler >, BaseHandler< CopyHandler >, BaseHandler< DotFileHandler >, and BaseHandler< LineBreakHandler >.
|
virtual |
Does nothing.
Implements QXmlLexicalHandler.
|
virtual |
Does nothing.
Implements QXmlContentHandler.
Reimplemented in LayoutParser, TagFileParser, BaseHandler< ProgramListingHandler >, BaseHandler< DocInternalHandler >, BaseHandler< ListItemHandler >, BaseHandler< TocListHandler >, BaseHandler< HighlightHandler >, BaseHandler< TocItemHandler >, BaseHandler< SectionHandler >, BaseHandler< LinkHandler >, BaseHandler< VerbatimHandler >, BaseHandler< GraphHandler >, BaseHandler< FormulaHandler >, BaseHandler< EMailHandler >, BaseHandler< ULinkHandler >, BaseHandler< VariableListEntryHandler >, BaseHandler< NodeHandler >, BaseHandler< ParameterItemHandler >, BaseHandler< CompoundHandler >, BaseHandler< LinkedTextHandler >, BaseHandler< EntryHandler >, BaseHandler< ChildNodeHandler >, BaseHandler< TableHandler >, BaseHandler< ParamHandler >, BaseHandler< HRulerHandler >, BaseHandler< DocHandler >, BaseHandler< SimpleSectHandler >, BaseHandler< TemplateParamListHandler >, BaseHandler< ParagraphHandler >, BaseHandler< RowHandler >, BaseHandler< SymbolHandler >, BaseHandler< ListOfAllMembersHandler >, BaseHandler< TitleHandler >, BaseHandler< OrderedListHandler >, BaseHandler< IncludeHandler >, BaseHandler< IndexEntryHandler >, BaseHandler< MainHandler >, BaseHandler< VariableListHandler >, BaseHandler< ImageHandler >, BaseHandler< EdgeLabelHandler >, BaseHandler< CodeLineHandler >, BaseHandler< AnchorHandler >, BaseHandler< ParameterHandler >, BaseHandler< ItemizedListHandler >, BaseHandler< DocSectionHandler >, BaseHandler< ParameterListHandler >, BaseHandler< MemberHandler >, BaseHandler< RefHandler >, BaseHandler< CopyHandler >, BaseHandler< DotFileHandler >, and BaseHandler< LineBreakHandler >.
Does nothing.
Implements QXmlContentHandler.
|
virtual |
Does nothing.
Implements QXmlDTDHandler.
|
virtual |
Does nothing.
Implements QXmlErrorHandler.