P6R::p6ISAX2Locator Interface Reference

This is a standard SAX2 interface which is implemented by P6R's XML parser. More...

#include <p6sax2locator.h>

Inherits P6R::p6ICom.

List of all members.

Public Member Functions

virtual P6R::P6INT32 addref ()=0
 This method increases the reference count of the component instance by one.
virtual P6R::P6ERR getColumnNumber (P6UINT32 *pNumber)=0
 The application making use of the XML Reader can use this interface to find out where in the XML document the parser is currently processing.
virtual P6R::P6ERR getLineNumber (P6UINT32 *pNumber)=0
 Return the current line number, in the XML document being parsed, where the XML parser is currently pointing to.
virtual P6R::P6ERR getPublicId (const P6CHAR **pPublicId)=0
 Standard SAX2 method, currently not implemented.
virtual P6R::P6ERR getSystemId (const P6CHAR **pSystemId)=0
 Standard SAX2 method, currently not implemented.
virtual P6R::P6ERR nameSpaceInScope (P6SAX2STRING *pPrefix, P6SAX2STRING *pNameSpaceURI)=0
 Extension to SAX2 definition.
virtual P6R::P6ERR queryInterface (const P6R::IID &iid, P6R::P6VOID **ppIface)=0
 This method queries the component for a specific interface.
virtual P6R::P6INT32 release ()=0
 This method decrements a components reference count.

Detailed Description

This is a standard SAX2 interface which is implemented by P6R's XML parser.

An instance of this component is passed to the application in 2 ways: a) Via the setDocumentLocator() method of the P6R::p6ISAX2ContentHandler interface implemented by an application, and registered with the XML Reader component (p6ISAX2XMLReader). b) Via the warning(), error(), and fatalError() methods of the P6R::p6ISAX2ErrorHandler interface implemented by an application and registered with the XML Reader component.

Definition at line 33 of file p6sax2locator.h.


The documentation for this interface was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
Copyright © 2004 - 2010 P6R Inc. - All Rights Reserved.