hero_xmlContentHandler.h
资源名称:xml_Vc.zip [点击查看]
上传用户:quanyou
上传日期:2022-06-07
资源大小:39k
文件大小:2k
源码类别:
xml/soap/webservice
开发平台:
Visual C++
- // HERO_XMLContentHandler.h: derived class from SAXContentHandlerImpl
- #if !defined(AFX_HERO_XMLCONTENTHANDLER_H__2C6A0331_CB15_4603_8086_7EA1376E83D4__INCLUDED_)
- #define AFX_HERO_XMLCONTENTHANDLER_H__2C6A0331_CB15_4603_8086_7EA1376E83D4__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- #include "SAXContentHandlerImpl.h"
- class HERO_XMLContentHandler : public SAXContentHandlerImpl
- {
- public:
- static HERO_XMLContentHandler * CreateInstance();
- HERO_XMLContentHandler();
- virtual ~HERO_XMLContentHandler();
- virtual HRESULT STDMETHODCALLTYPE startDocument( void);
- virtual HRESULT STDMETHODCALLTYPE endDocument( void);
- virtual HRESULT STDMETHODCALLTYPE startElement(
- /* [in] */ wchar_t __RPC_FAR *pwchNamespaceUri,
- /* [in] */ int cchNamespaceUri,
- /* [in] */ wchar_t __RPC_FAR *pwchLocalName,
- /* [in] */ int cchLocalName,
- /* [in] */ wchar_t __RPC_FAR *pwchRawName,
- /* [in] */ int cchRawName,
- /* [in] */ ISAXAttributes __RPC_FAR *pAttributes);
- virtual HRESULT STDMETHODCALLTYPE endElement(
- /* [in] */ wchar_t __RPC_FAR *pwchNamespaceUri,
- /* [in] */ int cchNamespaceUri,
- /* [in] */ wchar_t __RPC_FAR *pwchLocalName,
- /* [in] */ int cchLocalName,
- /* [in] */ wchar_t __RPC_FAR *pwchRawName,
- /* [in] */ int cchRawName);
- virtual HRESULT STDMETHODCALLTYPE characters(
- /* [in] */ wchar_t __RPC_FAR *pwchChars,
- /* [in] */ int cchChars);
- private:
- BOOL m_bflag;
- int idnt;
- int i,k;
- };
- #endif // !defined(AFX_HERO_XMLCONTENTHANDLER_H__2C6A0331_CB15_4603_8086_7EA1376E83D4__INCLUDED_)