DOMLocator is an interface that describes a location. More...
#include <DOMLocator.hpp>
Public Member Functions | |
Destructor | |
virtual | ~DOMLocator () |
Destructor. | |
Functions introduced in DOM Level 3 | |
virtual XMLFileLoc | getLineNumber () const =0 |
Get the line number where the error occured, or 0 if there is no line number available. | |
virtual XMLFileLoc | getColumnNumber () const =0 |
Get the column number where the error occured, or 0 if there is no column number available. | |
virtual XMLFilePos | getByteOffset () const =0 |
Get the byte offset into the input source, or ~(XMLFilePos(0)) if there is no byte offset available. | |
virtual XMLFilePos | getUtf16Offset () const =0 |
Get the UTF-16 offset into the input source, or ~(XMLFilePos(0)) if there is no UTF-16 offset available. | |
virtual DOMNode * | getRelatedNode () const =0 |
Get the DOMNode where the error occured, or null if there is no node available. | |
virtual const XMLCh * | getURI () const =0 |
Get the URI where the error occured, or null if there is no URI available. | |
Protected Member Functions | |
Hidden constructors | |
DOMLocator () |
DOMLocator is an interface that describes a location.
(e.g. where an error occured).
xercesc::DOMLocator::DOMLocator | ( | ) | [inline, protected] |
virtual xercesc::DOMLocator::~DOMLocator | ( | ) | [inline, virtual] |
Destructor.
virtual XMLFilePos xercesc::DOMLocator::getByteOffset | ( | ) | const [pure virtual] |
Get the byte offset into the input source, or ~(XMLFilePos(0)) if there is no byte offset available.
virtual XMLFileLoc xercesc::DOMLocator::getColumnNumber | ( | ) | const [pure virtual] |
Get the column number where the error occured, or 0 if there is no column number available.
virtual XMLFileLoc xercesc::DOMLocator::getLineNumber | ( | ) | const [pure virtual] |
Get the line number where the error occured, or 0 if there is no line number available.
virtual DOMNode* xercesc::DOMLocator::getRelatedNode | ( | ) | const [pure virtual] |
Get the DOMNode where the error occured, or null
if there is no node available.
virtual const XMLCh* xercesc::DOMLocator::getURI | ( | ) | const [pure virtual] |
Get the URI where the error occured, or null
if there is no URI available.
virtual XMLFilePos xercesc::DOMLocator::getUtf16Offset | ( | ) | const [pure virtual] |
Get the UTF-16 offset into the input source, or ~(XMLFilePos(0)) if there is no UTF-16 offset available.