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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? xmluri.hpp

?? IBM的解析xml的工具Xerces的源代碼
?? HPP
?? 第 1 頁 / 共 2 頁
字號:
/* * Copyright 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. *//* * $Id: XMLUri.hpp,v 1.18 2004/09/08 13:56:25 peiyongz Exp $ * $Log: XMLUri.hpp,v $ * Revision 1.18  2004/09/08 13:56:25  peiyongz * Apache License Version 2.0 * * Revision 1.17  2004/05/25 18:11:47  peiyongz * normalizeURI() added * * Revision 1.16  2004/01/12 22:01:02  cargilld * Minor performance change for handling reserved and unreserved characters. * * Revision 1.15  2003/12/17 00:18:35  cargilld * Update to memory management so that the static memory manager (one used to call Initialize) is only for static data. * * Revision 1.14  2003/12/11 22:21:25  neilg * fixes for the URI implementation to take registry names into account; much thanks to Michael Glavassevich * * Revision 1.13  2003/12/02 17:50:21  neilg * additional fix for bug 25118; once again, thanks to Jeroen Whitmond * * Revision 1.12  2003/10/01 00:20:41  knoaman * Add a static method to check whether a given string is a valid URI. * * Revision 1.11  2003/09/25 22:23:25  peiyongz * Implementation of Serialization/Deserialization * * Revision 1.10  2003/07/25 10:15:16  gareth * Patch by Michael Glavassevich * * The patch fixes Bugzilla #19787, #20006, #20009, #20010 and #20287, and * several other issues. A summary of the changes is listed below: * * 1. Added '[' and ']' to reserved characters as per RFC 2732. * 2. '[' and ']' added in RFC 2732, are not allowed in path segments, but * may appear in the opaque part. * 3. No URI can begin with a ':'. * 4. URI has no scheme if ':' occurs in a URI after '?' or '#', it's part of * the query string or fragment. * 5. Whitespace (even escaped as %20) is not permitted in the authority * portion of a URI. * 6. IPv4 addresses must match 1*3DIGIT "." 1*3DIGIT "." 1*3DIGIT "." * 1*3DIGIT. Since RFC 2732. * 7. IPv4 addresses are 32-bit, therefore no segment may be larger than 255. * This isn't expressed by the grammar. * 8. Hostnames cannot end with a '-'. * 9. Labels in a hostname must be 63 bytes or less [RFC 1034]. * 10. Hostnames may be no longer than 255 bytes [RFC 1034]. (That * restriction was already there. I just moved it inwards. * 11. Added support for IPv6 references added in RFC 2732. URIs such as * http://[::ffff:1.2.3.4] are valid. The BNF in RFC 2373 isn't correct. IPv6 * addresses are read according to section 2.2 of RFC 2373. * * Revision 1.9  2003/05/16 06:01:53  knoaman * Partial implementation of the configurable memory manager. * * Revision 1.8  2003/05/15 19:07:46  knoaman * Partial implementation of the configurable memory manager. * * Revision 1.7  2003/01/06 19:43:18  tng * New feature StandardUriConformant to force strict standard uri conformance. * * Revision 1.6  2002/11/21 15:42:39  gareth * Implemented copy constructor and operator =. Patch by Jennifer Schachter. * * Revision 1.5  2002/11/04 15:22:05  tng * C++ Namespace Support. * * Revision 1.4  2002/09/23 18:41:00  tng * DOM L3: Support baseURI.   Add fURIText to XMLUri.   Added by Gareth Reakes and Thomas Ford. * * Revision 1.3  2002/08/23 20:45:24  tng * .Memory leak fix: XMLUri data not deleted if constructor failed. * * Revision 1.2  2002/02/20 18:17:02  tng * [Bug 5977] Warnings on generating apiDocs. * * Revision 1.1.1.1  2002/02/01 22:22:17  peiyongz * sane_include * * Revision 1.3  2001/08/29 19:03:03  peiyongz * Bugzilla# 2816:on AIX 4.2, xlC 3 r ev.1, Compilation error on inline method * * Revision 1.2  2001/08/16 14:09:44  peiyongz * Removed unused ctors and methods * * Revision 1.1  2001/08/10 16:23:41  peiyongz * XMLUri: creation * * */#if !defined(XMLURI_HPP)#define XMLURI_HPP#include <xercesc/util/XMemory.hpp>#include <xercesc/util/XMLString.hpp>#include <xercesc/internal/XSerializable.hpp>#include <xercesc/framework/XMLBuffer.hpp>XERCES_CPP_NAMESPACE_BEGIN/* * This class is a direct port of Java's URI class, to distinguish * itself from the XMLURL, we use the name XMLUri instead of * XMLURI. * * TODO: how to relate XMLUri and XMLURL since URL is part of URI. * */class XMLUTIL_EXPORT XMLUri : public XSerializable, public XMemory{public:    // -----------------------------------------------------------------------    //  Constructors and Destructor    // -----------------------------------------------------------------------    /**     * Construct a new URI from a URI specification string.     *     * If the specification follows the "generic URI" syntax, (two slashes     * following the first colon), the specification will be parsed     * accordingly - setting the     *                           scheme,     *                           userinfo,     *                           host,     *                           port,     *                           path,     *                           querystring and     *                           fragment     * fields as necessary.     *     * If the specification does not follow the "generic URI" syntax,     * the specification is parsed into a     *                           scheme and     *                           scheme-specific part (stored as the path) only.     *     * @param uriSpec the URI specification string (cannot be null or empty)     *     * @param manager Pointer to the memory manager to be used to     *                allocate objects.     *     * ctor# 2     *     */    XMLUri(const XMLCh* const    uriSpec,           MemoryManager* const manager = XMLPlatformUtils::fgMemoryManager);    /**     * Construct a new URI from a base URI and a URI specification string.     * The URI specification string may be a relative URI.     *     * @param baseURI the base URI (cannot be null if uriSpec is null or     *                empty)     *     * @param uriSpec the URI specification string (cannot be null or     *                empty if base is null)     *     * @param manager Pointer to the memory manager to be used to     *                allocate objects.     *     * ctor# 7 relative ctor     *     */    XMLUri(const XMLUri* const  baseURI         , const XMLCh* const   uriSpec         , MemoryManager* const manager = XMLPlatformUtils::fgMemoryManager);    /**     * Copy constructor     */    XMLUri(const XMLUri& toCopy);    XMLUri& operator=(const XMLUri& toAssign);    virtual ~XMLUri();    // -----------------------------------------------------------------------    //  Getter methods    // -----------------------------------------------------------------------    /**     * Get the URI as a string specification. See RFC 2396 Section 5.2.     *     * @return the URI string specification     */    const XMLCh* getUriText() const;    /**     * Get the scheme for this URI.     *     * @return the scheme for this URI     */     const XMLCh* getScheme() const;    /**     * Get the userinfo for this URI.     *     * @return the userinfo for this URI (null if not specified).     */     const XMLCh* getUserInfo() const;    /**     * Get the host for this URI.     *     * @return the host for this URI (null if not specified).     */     const XMLCh* getHost() const;    /**     * Get the port for this URI.     *     * @return the port for this URI (-1 if not specified).     */     int getPort() const;         /**     * Get the registry based authority for this URI.     *      * @return the registry based authority (null if not specified).     */     const XMLCh* getRegBasedAuthority() const;    /**     * Get the path for this URI. Note that the value returned is the path     * only and does not include the query string or fragment.     *     * @return the path for this URI.     */     const XMLCh* getPath() const;    /**     * Get the query string for this URI.     *     * @return the query string for this URI. Null is returned if there     *         was no "?" in the URI spec, empty string if there was a     *         "?" but no query string following it.     */     const XMLCh* getQueryString() const;    /**     * Get the fragment for this URI.     *     * @return the fragment for this URI. Null is returned if there     *         was no "#" in the URI spec, empty string if there was a     *         "#" but no fragment following it.     */     const XMLCh* getFragment() const;    // -----------------------------------------------------------------------    //  Setter methods    // -----------------------------------------------------------------------    /**     * Set the scheme for this URI. The scheme is converted to lowercase     * before it is set.     *     * @param newScheme the scheme for this URI (cannot be null)     *     */     void setScheme(const XMLCh* const newScheme);    /**     * Set the userinfo for this URI. If a non-null value is passed in and     * the host value is null, then an exception is thrown.     *     * @param newUserInfo the userinfo for this URI     *     */     void setUserInfo(const XMLCh* const newUserInfo);    /**     * Set the host for this URI. If null is passed in, the userinfo     * field is also set to null and the port is set to -1.     *     * Note: This method overwrites registry based authority if it     * previously existed in this URI.     *     * @param newHost the host for this URI     *     */     void setHost(const XMLCh* const newHost);    /**     * Set the port for this URI. -1 is used to indicate that the port is     * not specified, otherwise valid port numbers are  between 0 and 65535.     * If a valid port number is passed in and the host field is null,     * an exception is thrown.     *     * @param newPort the port number for this URI     *     */     void setPort(int newPort);         /**     * Sets the registry based authority for this URI.     *      * Note: This method overwrites server based authority     * if it previously existed in this URI.     *      * @param newRegAuth the registry based authority for this URI     */     void setRegBasedAuthority(const XMLCh* const newRegAuth);    /**     * Set the path for this URI.     *     * If the supplied path is null, then the     * query string and fragment are set to null as well.     *     * If the supplied path includes a query string and/or fragment,     * these fields will be parsed and set as well.     *     * Note:     *     * For URIs following the "generic URI" syntax, the path     * specified should start with a slash.     *     * For URIs that do not follow the generic URI syntax, this method     * sets the scheme-specific part.     *     * @param newPath the path for this URI (may be null)     *     */     void setPath(const XMLCh* const newPath);    /**     * Set the query string for this URI. A non-null value is valid only     * if this is an URI conforming to the generic URI syntax and     * the path value is not null.     *     * @param newQueryString the query string for this URI     *     */     void setQueryString(const XMLCh* const newQueryString);    /**     * Set the fragment for this URI. A non-null value is valid only     * if this is a URI conforming to the generic URI syntax and     * the path value is not null.     *     * @param newFragment the fragment for this URI     *     */     void setFragment(const XMLCh* const newFragment);     // -----------------------------------------------------------------------    //  Miscellaneous methods    // -----------------------------------------------------------------------    /**     * Determine whether a given string contains only URI characters (also     * called "uric" in RFC 2396). uric consist of all reserved     * characters, unreserved characters and escaped characters.     *     * @return true if the string is comprised of uric, false otherwise     */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
中文字幕一区在线观看视频| 国产精品美日韩| 日韩国产高清在线| 欧美一级高清大全免费观看| 亚洲高清在线视频| 欧美男男青年gay1069videost| 亚洲一区二区三区精品在线| 欧美性色黄大片手机版| 日本欧美在线观看| 久久精品夜色噜噜亚洲aⅴ| 成人听书哪个软件好| 日韩美女视频一区二区| 99re6这里只有精品视频在线观看| 中文字幕综合网| 亚洲精品一区在线观看| 色一情一伦一子一伦一区| 久草中文综合在线| 亚洲免费av高清| 国产免费成人在线视频| 欧美综合久久久| caoporn国产一区二区| 秋霞电影网一区二区| 亚洲天堂成人网| 91精品国产综合久久婷婷香蕉| 高清久久久久久| 日本欧美一区二区在线观看| 椎名由奈av一区二区三区| 日韩久久免费av| 日韩欧美自拍偷拍| 7777精品久久久大香线蕉| 欧美自拍丝袜亚洲| 91电影在线观看| 懂色av一区二区夜夜嗨| 国产一区二区伦理| 国产成人av一区二区| 国产乱码精品一区二区三区忘忧草| 久久久久99精品一区| 久久日韩粉嫩一区二区三区| 日韩一区二区精品葵司在线| 3751色影院一区二区三区| 欧美亚洲免费在线一区| 在线观看av一区二区| 欧美福利电影网| 欧美一区二区三区性视频| 精品少妇一区二区三区日产乱码| 日韩一区二区免费在线电影| 久久久综合视频| 亚洲卡通欧美制服中文| 首页国产欧美久久| 国产精品一区在线观看乱码| 大陆成人av片| 欧美三级日韩三级| 国产女同互慰高潮91漫画| 亚洲免费成人av| 国产91精品欧美| 欧美日韩不卡一区| 亚洲欧洲精品成人久久奇米网| 视频在线观看一区| 在线中文字幕不卡| 久久久精品影视| 日韩黄色在线观看| 色综合久久88色综合天天免费| 欧美一区二区三级| 亚洲成人先锋电影| 成人av午夜影院| 国产亚洲一本大道中文在线| 亚洲国产色一区| 国产毛片精品国产一区二区三区| 欧美精品第1页| 亚洲高清不卡在线| 欧美日韩在线一区二区| 亚洲日本在线a| 成人午夜在线免费| 久久日韩粉嫩一区二区三区| 日本欧美在线观看| 日韩丝袜情趣美女图片| 五月天欧美精品| 欧美欧美午夜aⅴ在线观看| 亚洲天堂2016| 欧美日韩国产首页| 日本在线不卡一区| 亚洲精品在线观看网站| 狠狠色丁香久久婷婷综| 久久综合九色综合97婷婷女人 | 成人av一区二区三区| 亚洲欧美在线另类| 成人av综合在线| 一区二区三区高清| 久久久三级国产网站| 91搞黄在线观看| 国产福利一区二区三区在线视频| 亚洲欧美一区二区久久| 精品国产sm最大网站| 欧美美女视频在线观看| 国产激情偷乱视频一区二区三区| 一区二区三区四区中文字幕| 精品欧美一区二区久久| 色激情天天射综合网| 国产高清精品久久久久| 久久成人免费网站| 蜜臀精品一区二区三区在线观看| 国产精品毛片大码女人| 欧美日韩国产美女| 欧美私模裸体表演在线观看| av毛片久久久久**hd| 国产成人免费在线视频| 精品一区二区在线播放| 免费国产亚洲视频| 久久99久久99| 日本不卡一区二区三区高清视频| 亚洲一卡二卡三卡四卡五卡| 亚洲精选视频免费看| 亚洲激情图片小说视频| 亚洲香蕉伊在人在线观| 一区二区三区四区蜜桃| 亚洲国产精品久久久男人的天堂| 亚洲午夜视频在线观看| 日韩精品乱码免费| 国产一区二区在线电影| 成人手机电影网| 欧美日韩免费在线视频| 日韩欧美一区二区免费| 国产精品美女视频| 亚洲国产综合色| 韩日精品视频一区| 色婷婷亚洲综合| 2023国产一二三区日本精品2022| 亚洲国产高清不卡| 日本免费新一区视频| 99re这里只有精品首页| 在线不卡a资源高清| 日本一区二区三区高清不卡| 一区二区三区欧美| 国产一区二区三区免费看| 成人精品电影在线观看| 欧美高清视频一二三区 | 欧美激情艳妇裸体舞| 午夜精品视频一区| 国产乱对白刺激视频不卡| 91搞黄在线观看| 国产精品黄色在线观看| 国模套图日韩精品一区二区| 色猫猫国产区一区二在线视频| 精品少妇一区二区三区日产乱码| 一区二区三区四区不卡在线| 国产69精品久久久久777| 亚洲国产成人私人影院tom | 亚洲一区在线视频| av一区二区三区黑人| 国产调教视频一区| 黄色日韩网站视频| 欧美成人国产一区二区| 午夜伦理一区二区| 欧美美女一区二区三区| 日日夜夜精品视频天天综合网| 欧美日韩一区二区三区在线| 一区二区激情小说| 欧美视频一区二区三区四区| 亚洲国产日日夜夜| 欧美成人免费网站| 丁香激情综合国产| 亚洲同性gay激情无套| hitomi一区二区三区精品| 亚洲一区二区精品视频| 日韩欧美中文字幕精品| 九九热在线视频观看这里只有精品| 日韩欧美综合一区| 菠萝蜜视频在线观看一区| 亚洲美女免费视频| 欧美一级午夜免费电影| 国产sm精品调教视频网站| 亚洲乱码国产乱码精品精可以看| 欧美二区三区的天堂| 国产在线播放一区三区四| 亚洲九九爱视频| 久久久久国产精品人| 欧美日韩国产乱码电影| 亚洲欧洲韩国日本视频| 国产精品99精品久久免费| 天天综合网天天综合色| 午夜免费久久看| 久久99国产精品免费网站| 免费观看成人鲁鲁鲁鲁鲁视频| 自拍视频在线观看一区二区| 久久日韩粉嫩一区二区三区| 日韩欧美国产一区在线观看| 欧美性高清videossexo| 欧美综合亚洲图片综合区| 91一区二区三区在线观看| 成年人午夜久久久| a4yy欧美一区二区三区| 99久久国产免费看| 日本高清无吗v一区| 欧美久久久久久久久久| 制服.丝袜.亚洲.另类.中文| 欧美日韩激情一区| 7777精品伊人久久久大香线蕉的| 精品国产精品网麻豆系列| 亚洲国产精品ⅴa在线观看| 亚洲精选视频在线|