#include <DOMLocator.hpp>
Public Member Functions | |
Functions introduced in DOM Level 3 | |
virtual XMLSSize_t | getLineNumber () const=0 |
Get the line number where the error occured. | |
virtual XMLSSize_t | getColumnNumber () const=0 |
Get the column number where the error occured. | |
virtual XMLSSize_t | getOffset () const=0 |
Get the byte or character offset into the input source, if we're parsing a file or a byte stream then this will be the byte offset into that stream, but if a character media is parsed then the offset will be the character offset. | |
virtual DOMNode * | getErrorNode () 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. | |
virtual void | setLineNumber (const XMLSSize_t lineNumber)=0 |
Set the line number of the error. | |
virtual void | setColumnNumber (const XMLSSize_t columnNumber)=0 |
Set the column number of the error. | |
virtual void | setOffset (const XMLSSize_t offset)=0 |
Set the byte/character offset. | |
virtual void | setErrorNode (DOMNode *const errorNode)=0 |
Set the DOMNode where the error occured. | |
virtual void | setURI (const XMLCh *const uri)=0 |
Set the URI where the error occured. |
(e.g. where an error occured).
xercesc::DOMLocator::DOMLocator | ( | ) | [inline, protected] |
virtual xercesc::DOMLocator::~DOMLocator | ( | ) | [inline, virtual] |
Destructor.
xercesc::DOMLocator::DOMLocator | ( | ) | [inline, protected] |
virtual xercesc::DOMLocator::~DOMLocator | ( | ) | [inline, virtual] |
Destructor.
virtual XMLSSize_t xercesc::DOMLocator::getLineNumber | ( | ) | const [pure virtual] |
Get the line number where the error occured.
The value is -1 if there is no line number available.
"Experimental - subject to change"
virtual XMLSSize_t xercesc::DOMLocator::getColumnNumber | ( | ) | const [pure virtual] |
Get the column number where the error occured.
The value is -1 if there is no column number available.
"Experimental - subject to change"
virtual XMLSSize_t xercesc::DOMLocator::getOffset | ( | ) | const [pure virtual] |
Get the byte or character offset into the input source, if we're parsing a file or a byte stream then this will be the byte offset into that stream, but if a character media is parsed then the offset will be the character offset.
The value is -1 if there is no offset available.
"Experimental - subject to change"
virtual DOMNode* xercesc::DOMLocator::getErrorNode | ( | ) | const [pure virtual] |
Get the DOMNode where the error occured, or null
if there is no node available.
"Experimental - subject to change"
virtual const XMLCh* xercesc::DOMLocator::getURI | ( | ) | const [pure virtual] |
Get the URI where the error occured, or null
if there is no URI available.
"Experimental - subject to change"
virtual void xercesc::DOMLocator::setLineNumber | ( | const XMLSSize_t | lineNumber | ) | [pure virtual] |
Set the line number of the error.
"Experimental - subject to change"
lineNumber | the line number to set |
virtual void xercesc::DOMLocator::setColumnNumber | ( | const XMLSSize_t | columnNumber | ) | [pure virtual] |
Set the column number of the error.
"Experimental - subject to change"
columnNumber | the column number to set. |
virtual void xercesc::DOMLocator::setOffset | ( | const XMLSSize_t | offset | ) | [pure virtual] |
Set the byte/character offset.
"Experimental - subject to change"
offset | the byte/characte offset to set. |
virtual void xercesc::DOMLocator::setErrorNode | ( | DOMNode *const | errorNode | ) | [pure virtual] |
Set the DOMNode where the error occured.
"Experimental - subject to change"
errorNode | the DOMNode to set |
virtual void xercesc::DOMLocator::setURI | ( | const XMLCh *const | uri | ) | [pure virtual] |
Set the URI where the error occured.
"Experimental - subject to change"
uri | the URI to set. |