text: // SAXContentHandlerImpl.h: interface for the SAXContentHandlerImpl class.
  //
  //////////////////////////////////////////////////////////////////////
  
  #ifndef _SAXCONTENTHANDLERIMPL_H
  #define _SAXCONTENTHANDLERIMPL_H
  
  
  class SAXContentHandlerImpl : public ISAXContentHandler  
  {
  public:
      SAXContentHandlerImpl();
      virtual ~SAXContentHandlerImpl();
  
  public: // IUnknown
          long __stdcall QueryInterface(const struct _GUID &,void ** );
          unsigned long __stdcall AddRef(void);
          unsigned long __stdcall Release(void);
  
  public: // ISAXContentHandler
              virtual HRESULT STDMETHODCALLTYPE putDocumentLocator( 
              /* [in] */ ISAXLocator __RPC_FAR *pLocator);
          
          virtual HRESULT STDMETHODCALLTYPE startDocument( void);
          
          virtual HRESULT STDMETHODCALLTYPE endDocument( void);
          
          virtual HRESULT STDMETHODCALLTYPE startPrefixMapping(
              /* [in] */ const wchar_t __RPC_FAR *pwchPrefix,
              /* [in] */ int cchPrefix,
              /* [in] */ const wchar_t __RPC_FAR *pwchUri,
              /* [in] */ int cchUri);
          
          virtual HRESULT STDMETHODCALLTYPE endPrefixMapping(
              /* [in] */ const wchar_t __RPC_FAR *pwchPrefix,
              /* [in] */ int cchPrefix);
          
          virtual HRESULT STDMETHODCALLTYPE startElement( 
              /* [in] */ const wchar_t __RPC_FAR *pwchNamespaceUri,
              /* [in] */ int cchNamespaceUri,
              /* [in] */ const wchar_t __RPC_FAR *pwchLocalName,
              /* [in] */ int cchLocalName,
              /* [in] */ const wchar_t __RPC_FAR *pwchRawName,
              /* [in] */ int cchRawName,
              /* [in] */ ISAXAttributes __RPC_FAR *pAttributes);
          
          virtual HRESULT STDMETHODCALLTYPE endElement(
              /* [in] */ const wchar_t __RPC_FAR *pwchNamespaceUri,
              /* [in] */ int cchNamespaceUri,
              /* [in] */ const wchar_t __RPC_FAR *pwchLocalName,
              /* [in] */ int cchLocalName,
              /* [in] */ const wchar_t __RPC_FAR *pwchQName,
              /* [in] */ int cchQName);
          
          virtual HRESULT STDMETHODCALLTYPE characters( 
              /* [in] */ const wchar_t __RPC_FAR *pwchChars,
              /* [in] */ int cchChars);
          
          virtual HRESULT STDMETHODCALLTYPE ignorableWhitespace( 
              /* [in] */ const wchar_t __RPC_FAR *pwchChars,
              /* [in] */ int cchChars);
          
          virtual HRESULT STDMETHODCALLTYPE processingInstruction( 
              /* [in] */ const wchar_t __RPC_FAR *pwchTarget,
              /* [in] */ int cchTarget,
              /* [in] */ const wchar_t __RPC_FAR *pwchData,
              /* [in] */ int cchData);
          
          virtual HRESULT STDMETHODCALLTYPE skippedEntity( 
              /* [in] */ const wchar_t __RPC_FAR *pwchName,
              /* [in] */ int cchName);
  
  private:
      long    _cRef;
  };
  
  #endif //  _SAXCONTENTHANDLERIMPL_H
  
  
  