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

📄 xmlschemadescription.hpp

📁 开源xml解析库,非常有名
💻 HPP
字号:
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements.  See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You 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. *//* * $Id: XMLSchemaDescription.hpp 568078 2007-08-21 11:43:25Z amassari $ * */#if !defined(XMLSCHEMADESCRIPTION_HPP)#define XMLSCHEMADESCRIPTION_HPP#include <xercesc/framework/XMLGrammarDescription.hpp>#include <xercesc/util/RefArrayVectorOf.hpp>XERCES_CPP_NAMESPACE_BEGINtypedef const XMLCh* const LocationHint;class XMLPARSER_EXPORT XMLSchemaDescription : public XMLGrammarDescription{public :    // -----------------------------------------------------------------------    /** @name Virtual destructor for derived classes */    // -----------------------------------------------------------------------    //@{    /**      * virtual destructor      *      */    virtual ~XMLSchemaDescription();    //@}    // -----------------------------------------------------------------------    /** @name Implementation of Grammar Description Interface */    // -----------------------------------------------------------------------    //@{         /**      * getGrammarType      *      */    virtual Grammar::GrammarType   getGrammarType() const    {        return Grammar::SchemaGrammarType;    }    //@}    // -----------------------------------------------------------------------    /** @name The SchemaDescription Interface */    // -----------------------------------------------------------------------    //@{    enum ContextType          {            CONTEXT_INCLUDE,            CONTEXT_REDEFINE,            CONTEXT_IMPORT,            CONTEXT_PREPARSE,            CONTEXT_INSTANCE,            CONTEXT_ELEMENT,            CONTEXT_ATTRIBUTE,            CONTEXT_XSITYPE,            CONTEXT_UNKNOWN         };    /**      * getContextType      *      */	    virtual ContextType                getContextType() const = 0;    /**      * getTargetNamespace      *      */	    virtual const XMLCh*               getTargetNamespace() const = 0;    /**      * getLocationHints      *      */	    virtual RefArrayVectorOf<XMLCh>*   getLocationHints() const = 0;    /**      * getTriggeringComponent      *      */	    virtual const QName*               getTriggeringComponent() const = 0;    /**      * getenclosingElementName      *      */	    virtual const QName*               getEnclosingElementName() const = 0;    /**      * getAttributes      *      */	    virtual const XMLAttDef*           getAttributes() const = 0;    /**      * setContextType      *      */	    virtual void                       setContextType(ContextType) = 0;    /**      * setTargetNamespace      *      */	    virtual void                       setTargetNamespace(const XMLCh* const) = 0;    /**      * setLocationHints      *      */	    virtual void                       setLocationHints(const XMLCh* const) = 0;    /**      * setTriggeringComponent      *      */	    virtual void                       setTriggeringComponent(QName* const) = 0;    /**      * getenclosingElementName      *      */	    virtual void                       setEnclosingElementName(QName* const) = 0;    /**      * setAttributes      *      */	    virtual void                       setAttributes(XMLAttDef* const) = 0;    //@}	          	              /***     * Support for Serialization/De-serialization     ***/    DECL_XSERIALIZABLE(XMLSchemaDescription)protected :    // -----------------------------------------------------------------------    /**  Hidden Constructors */    // -----------------------------------------------------------------------    //@{    XMLSchemaDescription(MemoryManager* const memMgr = XMLPlatformUtils::fgMemoryManager);    //@}private :    // -----------------------------------------------------------------------    /** name  Unimplemented copy constructor and operator= */    // -----------------------------------------------------------------------    //@{    XMLSchemaDescription(const XMLSchemaDescription& );    XMLSchemaDescription& operator=(const XMLSchemaDescription& );    //@}};XERCES_CPP_NAMESPACE_END#endif

⌨️ 快捷键说明

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