#include <qgarlib/sax/Locator.H>
Inheritance diagram for qgxml::Locator:

If a SAX parser provides location information to the SAX application, it does so by implementing this interface and then passing an instance to the application using the content handler's setDocumentLocator method. The application can use the object to obtain the location of any other SAX event in the XML source document.
This class is an adaptation for C++ of the interface of the same name implemented in the Java SAX API (http://www.saxproject.org).
Definition at line 71 of file Locator.H.
Public Member Functions | |
Destructor | |
| virtual | ~Locator () |
| Destructor. | |
Access | |
| virtual int | getColumnNumber () const =0 |
| Return the column number where the current document event ends. | |
| virtual int | getLineNumber () const =0 |
| Return the line number where the current document event ends. | |
| virtual std::string | getPublicId () const =0 |
| Return the public identifier for the current document event. | |
| virtual std::string | getSystemId () const =0 |
| Return the system identifier for the current document event. | |
|
|
Destructor.
|
|
|
Return the column number where the current document event ends.
Implemented in qgxml::QtLocatorAdaptor, and qgxml::XercesLocatorAdaptor. |
|
|
Return the line number where the current document event ends.
Implemented in qgxml::QtLocatorAdaptor, and qgxml::XercesLocatorAdaptor. |
|
|
Return the public identifier for the current document event.
Implemented in qgxml::QtLocatorAdaptor, and qgxml::XercesLocatorAdaptor. |
|
|
Return the system identifier for the current document event.
Implemented in qgxml::QtLocatorAdaptor, and qgxml::XercesLocatorAdaptor. |