classIBXMLCALL Locator

Interface for associating an event with a location in an XML document

Public

[more] Constructors and destructor.
[more] Locator interface.


Documentation

Interface for associating an event with a location in an XML document.

A parser supplies an instance of the Locator interface and registers it with the DocumentHandler using the setDocumentLocator() method of the DocumentHandler. The Locator instance enables the DocumentHandler to obtain information about the location in the XML document of any DocumentHandler related event for the duration of that event. Applications shall not invoke any Locator method outside a DocumentHandler event.

o Constructors and destructor.

o Locator()
Construct an input source.

ovirtual ~Locator()
Destructor.

o Locator interface.

oint getColumnNumber() const
Return the column number where the current DocumentHandler event ends.

This column number is associated with the column of the first character after the text which is subject of the current event.

Returns:
Returns the column number where the current DocumentHandler event ends, or -1 if none is available.

oint getLineNumber() const
Return the line number where the current DocumentHandler event ends.

This line number is associated with the line of the first character after the text which is subject of the current event.

Returns:
Returns the line number where the current DocumentHandler event ends, or -1 if none is available.

oibxmlchar* getPublicId() const
Return the public identifier current DocumentHandler event.

Returns:
A pointer to a string containing the public identifier of the current DocumentHandler event, or null if none is available.

oibxmlchar* getSystemId() const
Return the system identifier current DocumentHandler event.

Returns:
A pointer to a string containing the system identifier of the current DocumentHandler event, or null if none is available.


This class has no child classes.

Alphabetic index Hierarchy of classes



This page was generated with the help of DOC++.