"Experimental - subject to change"
* * @see #setLineNumber * @since DOM Level 3 */ virtual XMLSSize_t getLineNumber() const = 0; /** * Get the column number where the error occured. The value is -1 if there * is no column number available. * *"Experimental - subject to change"
* * @see #setColumnNumber * @since DOM Level 3 */ virtual XMLSSize_t getColumnNumber() 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. The value is -1 if there is no offset available. * *"Experimental - subject to change"
* * @see #setOffset * @since DOM Level 3 */ virtual XMLSSize_t getOffset() const = 0; /** * Get the DOMNode where the error occured, ornull
if there
* is no node available.
*
* "Experimental - subject to change"
* * @see #setErrorNode * @since DOM Level 3 */ virtual DOMNode* getErrorNode() const = 0; /** * Get the URI where the error occured, ornull
if there is no
* URI available.
*
* "Experimental - subject to change"
* * @see #setURI * @since DOM Level 3 */ virtual const XMLCh* getURI() const = 0; // ----------------------------------------------------------------------- // Setter methods // ----------------------------------------------------------------------- /** * Set the line number of the error * *"Experimental - subject to change"
* * @param lineNumber the line number to set * * @see #getLinNumner * @since DOM Level 3 */ virtual void setLineNumber(const XMLSSize_t lineNumber) = 0; /** * Set the column number of the error * *"Experimental - subject to change"
* * @param columnNumber the column number to set. * * @see #getColumnNumner * @since DOM Level 3 */ virtual void setColumnNumber(const XMLSSize_t columnNumber) = 0; /** * Set the byte/character offset. * *"Experimental - subject to change"
* * @param offset the byte/characte offset to set. * * @see #getOffset * @since DOM Level 3 */ virtual void setOffset(const XMLSSize_t offset) = 0; /** * Set the DOMNode where the error occured * *"Experimental - subject to change"
* * @param errorNode the DOMNode to set * * @see #getErrorNode * @since DOM Level 3 */ virtual void setErrorNode(DOMNode* const errorNode) = 0; /** * Set the URI where the error occured * *"Experimental - subject to change"
* * @param uri the URI to set. * * @see #getURI * @since DOM Level 3 */ virtual void setURI(const XMLCh* const uri) = 0; //@} }; XERCES_CPP_NAMESPACE_END #endif