|
Unicorn XML Toolkit Version 1.00.00 |
|||||||||
� PREV CLASS �� NEXT CLASS | FRAMES��NO FRAMES | |||||||||
SUMMARY: �CONSTR�|� FUNCTION �|�DATA | DETAIL: �CONSTR�|� FUNCTION �|�DATA |
class ILocator: public CInterface { public: virtual ~ILocator(); public: virtual CString GetPublicId() = 0; virtual CString GetSystemId() = 0; virtual int GetColumnNumber() = 0; virtual int GetLineNumber() = 0; };
The abstract interface for associating an SXP event with a document location.
If an SXP parser provides location information
to the SXP application, it does so by implementing this
interface and then passing an instance to the application
using the document handler's
IDocumentHandler::SetDocumentLocator
method. The application can use the object to obtain the
location of any other document handler event in the XML
source document.
Constructor/Destructor Summary | |
~ILocator
();
����������Destroys the locator. |
Function Summary | |
CString
|
GetPublicId
();
����������Gets the public identifier for the current document event. |
CString
|
GetSystemId
();
����������Gets the system identifier for the current document event. |
int
|
GetColumnNumber
();
����������Gets the line number where the current document event ends. |
int
|
GetLineNumber
();
����������Gets the column number where the current document event ends. |
Constructor/Destructor Detail |
virtual ~ILocator();
Destroys the locator.
Function Detail |
virtual CString GetPublicId() = 0;
Gets the public identifier for the current document event.
virtual CString GetSystemId() = 0;
Gets the system identifier for the current document event.
virtual int GetColumnNumber() = 0;
Gets the line number where the current document event ends.
-1
if none is availablevirtual int GetLineNumber() = 0;
Gets the column number where the current document event ends.
-1
if none is available
|
Unicorn XML Toolkit Version 1.00.00 |
|||||||||
� PREV CLASS �� NEXT CLASS | FRAMES��NO FRAMES | |||||||||
SUMMARY: �CONSTR�|� FUNCTION �|�DATA | DETAIL: �CONSTR�|� FUNCTION �|�DATA |