⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 documentconverter.hpp

📁 Open VXI. This is a open source.
💻 HPP
字号:
/****************License************************************************ * * Copyright 2000-2001.  SpeechWorks International, Inc.     * * Use of this software is subject to notices and obligations set forth * in the SpeechWorks Public License - Software Version 1.1 which is * included with this software. * * SpeechWorks is a registered trademark, and SpeechWorks Here, * DialogModules and the SpeechWorks logo are trademarks of SpeechWorks * International, Inc. in the United States and other countries. *  ***********************************************************************/#include <sax/DocumentHandler.hpp>#include "VXML.h"class VXMLDocumentRep;class Locator;class DocumentConverter : public DocumentHandler {public:  static bool Initialize();  // One time initialization.  //  // Returns: True - initialization succeeded.  //          False - initialization failed.  static void Deinitialize();  // One time cleanup of DocumentParser interface.public:  DocumentConverter();  virtual ~DocumentConverter();  virtual void startDocument();  virtual void endDocument();  virtual void resetDocument();  virtual void setDocumentLocator(const Locator* const locator);  virtual void startElement(const XMLCh* const name, AttributeList & attrs);  virtual void endElement(const XMLCh* const name);  virtual void characters(const XMLCh* const chars,                          const unsigned int length);  virtual void ignorableWhitespace(const XMLCh* const chars,                                   const unsigned int length);  virtual void processingInstruction(const XMLCh* const target,                                     const XMLCh* const data);  VXMLDocumentRep * GetDocument();private:  void ParseException(const VXIchar * message) const;  void ProcessNodeAttribute(VXMLElementType elemType, int attrType,                            const VXIchar* const value);  void ProcessNodeFinal(VXMLElementType elemType);  bool IsIgnorable(int elemType);  const Locator * locator;  VXMLDocumentRep * doc;  int ignoreDepth;  float version;  bool strict;  int choiceNumber;};

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -