The QXmlLocator class provides the XML handler classes with information about the actual parsing position. More...
#include <qxml.h>
Public Member Functions | |
| QXmlLocator (QXmlSimpleReader *parent) | |
| ~QXmlLocator () | |
| int | columnNumber () |
| int | lineNumber () |
Private Attributes | |
| QXmlSimpleReader * | reader |
The QXmlLocator class provides the XML handler classes with information about the actual parsing position.
XML
The reader reports a QXmlLocator to the content handler before he starts to parse the document. This is done with the QXmlContentHandler::setDocumentLocator() function. The handler classes can now use this locator to get the actual position the reader is at.
|
inline |
| int QXmlLocator::columnNumber | ( | ) |
| int QXmlLocator::lineNumber | ( | ) |
|
private |
1.8.11