亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? mixedcontentmodel.hpp

?? IBM的解析xml的工具Xerces的源代碼
?? HPP
字號:
/* * Copyright 1999-2001,2004 The Apache Software Foundation. *  * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *  *      http://www.apache.org/licenses/LICENSE-2.0 *  * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. *//* * $Log: MixedContentModel.hpp,v $ * Revision 1.9  2004/09/16 13:32:04  amassari * Updated error message for UPA to also state the complex type that is failing the test * * Revision 1.8  2004/09/08 13:56:51  peiyongz * Apache License Version 2.0 * * Revision 1.7  2004/01/29 11:51:21  cargilld * Code cleanup changes to get rid of various compiler diagnostic messages. * * Revision 1.6  2003/05/16 21:43:20  knoaman * Memory manager implementation: Modify constructors to pass in the memory manager. * * Revision 1.5  2003/05/15 18:48:27  knoaman * Partial implementation of the configurable memory manager. * * Revision 1.4  2003/03/07 18:16:57  tng * Return a reference instead of void for operator= * * Revision 1.3  2002/11/04 14:54:58  tng * C++ Namespace Support. * * Revision 1.2  2002/02/25 21:18:53  tng * Schema Fix: Ensure no invalid uri index for UPA checking. * * Revision 1.1.1.1  2002/02/01 22:22:39  peiyongz * sane_include * * Revision 1.12  2001/11/28 16:46:20  tng * Schema fix: Check for invalid URI index first. * * Revision 1.11  2001/11/21 14:30:13  knoaman * Fix for UPA checking. * * Revision 1.10  2001/08/21 16:06:11  tng * Schema: Unique Particle Attribution Constraint Checking. * * Revision 1.9  2001/08/13 15:06:39  knoaman * update <any> validation. * * Revision 1.8  2001/05/11 13:27:19  tng * Copyright update. * * Revision 1.7  2001/05/03 21:02:31  tng * Schema: Add SubstitutionGroupComparator and update exception messages.  By Pei Yong Zhang. * * Revision 1.6  2001/04/19 18:17:33  tng * Schema: SchemaValidator update, and use QName in Content Model * * Revision 1.5  2001/03/21 21:56:28  tng * Schema: Add Schema Grammar, Schema Validator, and split the DTDValidator into DTDValidator, DTDScanner, and DTDGrammar. * * Revision 1.4  2001/03/21 19:29:58  tng * Schema: Content Model Updates, by Pei Yong Zhang. * * Revision 1.3  2001/02/27 18:32:33  tng * Schema: Use XMLElementDecl instead of DTDElementDecl in Content Model. * * Revision 1.2  2001/02/27 14:48:55  tng * Schema: Add CMAny and ContentLeafNameTypeVector, by Pei Yong Zhang * * Revision 1.1  2001/02/16 14:17:29  tng * Schema: Move the common Content Model files that are shared by DTD * and schema from 'DTD' folder to 'common' folder.  By Pei Yong Zhang. * * Revision 1.3  2000/02/24 20:16:49  abagchi * Swat for removing Log from API docs * * Revision 1.2  2000/02/09 21:42:39  abagchi * Copyright swat * * Revision 1.1.1.1  1999/11/09 01:03:45  twl * Initial checkin * * Revision 1.3  1999/11/08 20:45:43  rahul * Swat for adding in Product name and CVS comment log variable. * */#if !defined(MIXEDCONTENTMODEL_HPP)#define MIXEDCONTENTMODEL_HPP#include <xercesc/util/ValueVectorOf.hpp>#include <xercesc/framework/XMLContentModel.hpp>#include <xercesc/validators/common/ContentLeafNameTypeVector.hpp>XERCES_CPP_NAMESPACE_BEGINclass ContentSpecNode;////  MixedContentModel is a derivative of the abstract content model base//  class that handles the special case of mixed model elements. If an element//  is mixed model, it has PCDATA as its first possible content, followed//  by an alternation of the possible children. The children cannot have any//  numeration or order, so it must look like this:////  <!ELEMENT Foo ((#PCDATA|a|b|c|)*)>////  So, all we have to do is to keep an array of the possible children and//  validate by just looking up each child being validated by looking it up//  in the list.//class MixedContentModel : public XMLContentModel{public :    // -----------------------------------------------------------------------    //  Constructors and Destructor    // -----------------------------------------------------------------------    MixedContentModel    (        const bool                dtd        , ContentSpecNode* const  parentContentSpec		, const bool              ordered = false        , MemoryManager* const    manager = XMLPlatformUtils::fgMemoryManager    );    ~MixedContentModel();    // -----------------------------------------------------------------------    //  Getter methods    // -----------------------------------------------------------------------    bool hasDups() const;    // -----------------------------------------------------------------------    //  Implementation of the ContentModel virtual interface    // -----------------------------------------------------------------------    virtual int validateContent    (        QName** const         children      , const unsigned int    childCount      , const unsigned int    emptyNamespaceId    )   const;	virtual int validateContentSpecial    (        QName** const         children      , const unsigned int    childCount      , const unsigned int    emptyNamespaceId      , GrammarResolver*  const pGrammarResolver      , XMLStringPool*    const pStringPool    ) const;    virtual ContentLeafNameTypeVector* getContentLeafNameTypeVector() const ;    virtual unsigned int getNextState(const unsigned int currentState,                                      const unsigned int elementIndex) const;    virtual void checkUniqueParticleAttribution    (        SchemaGrammar*    const pGrammar      , GrammarResolver*  const pGrammarResolver      , XMLStringPool*    const pStringPool      , XMLValidator*     const pValidator      , unsigned int*     const pContentSpecOrgURI      , const XMLCh*            pComplexTypeName = 0    ) ;private :    // -----------------------------------------------------------------------    //  Private helper methods    // -----------------------------------------------------------------------    void buildChildList    (        ContentSpecNode* const                     curNode      , ValueVectorOf<QName*>&                     toFill      , ValueVectorOf<ContentSpecNode::NodeTypes>& toType    );    // -----------------------------------------------------------------------    //  Unimplemented constructors and operators    // -----------------------------------------------------------------------    MixedContentModel();    MixedContentModel(const MixedContentModel&);    MixedContentModel& operator=(const MixedContentModel&);    // -----------------------------------------------------------------------    //  Private data members    //    //  fCount    //      The count of possible children in the fChildren member.    //    //  fChildren    //      The list of possible children that we have to accept. This array    //      is allocated as large as needed in the constructor.    //    //  fChildTypes    //      The type of the children to support ANY.    //    //  fOrdered    //      True if mixed content model is ordered. DTD mixed content models    //      are <em>always</em> unordered.    //    //  fDTD    //      Boolean to allow DTDs to validate even with namespace support.    //    // -----------------------------------------------------------------------    unsigned int                fCount;    QName**                     fChildren;    ContentSpecNode::NodeTypes* fChildTypes;    bool                        fOrdered;    bool                        fDTD;    MemoryManager*              fMemoryManager;};inline ContentLeafNameTypeVector* MixedContentModel::getContentLeafNameTypeVector() const{	return 0;}inline unsigned intMixedContentModel::getNextState(const unsigned int,                                const unsigned int) const {    return XMLContentModel::gInvalidTrans;}inline void MixedContentModel::checkUniqueParticleAttribution    (        SchemaGrammar*    const       , GrammarResolver*  const       , XMLStringPool*    const       , XMLValidator*     const      , unsigned int*     const pContentSpecOrgURI      , const XMLCh*            pComplexTypeName /*= 0*/    ){    // rename back    unsigned int i = 0;    for (i = 0; i < fCount; i++) {        unsigned int orgURIIndex = fChildren[i]->getURI();        if ((orgURIIndex != XMLContentModel::gEOCFakeId) &&            (orgURIIndex != XMLElementDecl::fgInvalidElemId) &&            (orgURIIndex != XMLElementDecl::fgPCDataElemId))            fChildren[i]->setURI(pContentSpecOrgURI[orgURIIndex]);    }    // for mixed content model, it's only a sequence    // UPA checking is not necessary}XERCES_CPP_NAMESPACE_END#endif

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩精品国产精品| 久久91精品久久久久久秒播| 日韩精品中文字幕在线不卡尤物 | 国产在线播放一区二区三区| 亚洲欧美影音先锋| 日韩欧美一区二区不卡| 91久久精品午夜一区二区| 精品一区二区三区久久| 亚洲愉拍自拍另类高清精品| 国产免费成人在线视频| 欧美一区日本一区韩国一区| 91成人网在线| 成人高清免费观看| 久久精品久久精品| 亚洲午夜在线视频| 中文字幕亚洲欧美在线不卡| www国产成人| 欧美一区二区三区在线观看| 欧美三电影在线| 色综合天天狠狠| 国产69精品一区二区亚洲孕妇| 日韩国产精品久久久久久亚洲| 一区二区三区成人| 亚洲欧洲精品一区二区三区| 欧美激情资源网| 久久―日本道色综合久久| 欧美男生操女生| 欧美三级视频在线| 在线精品视频免费观看| jiyouzz国产精品久久| 高清视频一区二区| 国产一区二区三区电影在线观看| 麻豆精品一二三| 日韩国产精品久久| 水蜜桃久久夜色精品一区的特点| 亚洲国产视频在线| 亚洲欧美精品午睡沙发| 亚洲视频免费在线观看| 亚洲男人都懂的| 亚洲欧美自拍偷拍| 亚洲欧美综合在线精品| 亚洲欧洲日韩一区二区三区| 国产精品对白交换视频| 中文字幕一区免费在线观看| 中文字幕在线视频一区| 国产精品久久久久影视| 亚洲欧美在线高清| 亚洲欧美日韩一区| 亚洲一二三四区| 天天色综合成人网| 美女视频黄 久久| 国产一区二区精品久久| 成人在线视频一区| 99精品国产视频| 在线免费一区三区| 91精品国产综合久久久久久久久久 | 一区二区激情视频| 一区二区三区在线观看视频| 亚洲高清免费视频| 日本系列欧美系列| 黄色精品一二区| 99久久777色| 精品视频1区2区| 日韩午夜电影在线观看| 亚洲精品一区二区精华| 国产精品视频yy9299一区| 亚洲欧洲精品天堂一级| 亚洲v中文字幕| 黄色资源网久久资源365| 成人丝袜18视频在线观看| 一本一本大道香蕉久在线精品| 在线播放91灌醉迷j高跟美女 | xnxx国产精品| 亚洲男人的天堂在线观看| 亚洲国产日产av| 韩国视频一区二区| 色综合久久久久| 日韩精品一区在线| 中文字幕亚洲区| 麻豆国产精品一区二区三区| 粉嫩av亚洲一区二区图片| 在线观看日韩电影| 久久综合成人精品亚洲另类欧美 | 日韩一区二区在线观看视频| 中文字幕精品在线不卡| 一区二区三区四区在线免费观看| 免费高清在线视频一区·| 国产黄色精品视频| 欧美三级乱人伦电影| 久久精品视频在线看| 亚洲影视在线观看| 国产在线不卡视频| 欧美在线看片a免费观看| 久久久久久久一区| 日韩精品亚洲专区| 91亚洲精品久久久蜜桃网站 | av在线不卡电影| 精品久久久久久久久久久久久久久久久| 最新久久zyz资源站| 久久精品国产成人一区二区三区| 色综合久久天天综合网| 精品国产免费一区二区三区香蕉 | 一区二区三区中文字幕电影| 国产一区二区美女诱惑| 欧美视频一区二区在线观看| 欧美国产丝袜视频| 免费在线看一区| 欧美手机在线视频| 中文字幕一区视频| 国产xxx精品视频大全| 日韩片之四级片| 图片区日韩欧美亚洲| 色就色 综合激情| 中文字幕一区二区三区色视频| 国产在线精品一区二区| 678五月天丁香亚洲综合网| 亚洲欧美激情插| 成人黄色av电影| 久久久av毛片精品| 男男成人高潮片免费网站| 欧美精品一卡两卡| 亚洲第一狼人社区| 欧洲视频一区二区| 亚洲精选视频在线| 97国产一区二区| 亚洲人成在线播放网站岛国| 99精品视频在线免费观看| 欧美韩日一区二区三区| 国产一区二区三区香蕉| 精品美女在线观看| 另类专区欧美蜜桃臀第一页| 欧美一级片免费看| 日韩国产精品久久| 日韩一区二区在线播放| 日本最新不卡在线| 91精品欧美久久久久久动漫| 日本伊人色综合网| 欧美美女bb生活片| 午夜精品久久久| 欧美一级黄色录像| 精品一区中文字幕| 欧美精品一区视频| 国产一区二区中文字幕| 久久精品亚洲国产奇米99| 国产高清久久久| **欧美大码日韩| 欧美亚洲图片小说| 日韩精品每日更新| 69堂精品视频| 韩国av一区二区三区| 国产日韩精品一区二区三区在线| 成人一区二区三区中文字幕| 国产精品美女久久久久aⅴ| 成人久久18免费网站麻豆| 亚洲三级电影全部在线观看高清| 欧美四级电影在线观看| 日韩成人精品视频| 精品99一区二区| 99免费精品在线观看| 夜夜精品视频一区二区 | 成人免费毛片高清视频| 中文字幕欧美一| 在线不卡一区二区| 激情五月婷婷综合| 国产精品传媒在线| 欧美三级视频在线观看| 久久精品国产亚洲a| 国产丝袜美腿一区二区三区| 日本精品免费观看高清观看| 日本欧美久久久久免费播放网| 国产拍揄自揄精品视频麻豆| 色综合色狠狠天天综合色| 日韩成人免费在线| 亚洲国产成人自拍| 欧美性大战久久久久久久| 美日韩黄色大片| 国产精品情趣视频| 欧美日韩国产综合视频在线观看| 国内精品在线播放| 亚洲欧美一区二区在线观看| 4438x亚洲最大成人网| 国产乱码一区二区三区| 亚洲一级二级在线| 久久综合色一综合色88| 欧美主播一区二区三区| 国产伦精一区二区三区| 亚洲国产美国国产综合一区二区| 久久精品亚洲乱码伦伦中文| 欧美色倩网站大全免费| 国产精品亚洲一区二区三区妖精 | 国产亚洲欧美中文| 欧美中文字幕一区二区三区| 国产成人精品免费在线| 日日夜夜精品视频天天综合网| 国产日韩v精品一区二区| 欧美日韩日本视频| 成人av影院在线| 韩国av一区二区三区四区| 亚洲福利电影网| 亚洲人成网站色在线观看|