CartoType API
Public Member Functions
CartoType::Sax::MLocator Class Reference

#include <cartotype_sax.h>

Inheritance diagram for CartoType::Sax::MLocator:
CartoType::Sax::CXmlReader

List of all members.

Public Member Functions

virtual int32 ColumnNumber () const =0
virtual int32 LineNumber () const =0
virtual int32 ByteIndex () const =0

Detailed Description

If a SAX parser provides location information to the SAX application, it does so by implementing this interface and then passing an instance to the application using the content handler's setDocumentLocator method. The application can use the object to obtain the location of any other SAX event in the XML source document.


Member Function Documentation

virtual int32 CartoType::Sax::MLocator::ByteIndex ( ) const [pure virtual]

Return the byte position of the end of the current document event.

virtual int32 CartoType::Sax::MLocator::ColumnNumber ( ) const [pure virtual]

Return the column number where the current document event ends.

virtual int32 CartoType::Sax::MLocator::LineNumber ( ) const [pure virtual]

Return the line number where the current document event ends.


The documentation for this class was generated from the following file: