亚洲欧美第一页_禁久久精品乱码_粉嫩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一区二区三区免费野_久草精品视频
欧美人动与zoxxxx乱| 欧美日韩国产精品自在自线| av成人免费在线观看| 51午夜精品国产| 中文在线免费一区三区高中清不卡| 亚洲综合视频在线| 国产成人激情av| 日韩视频免费观看高清完整版在线观看| 中文无字幕一区二区三区| 日韩av在线发布| 一本大道久久精品懂色aⅴ| 国产欧美一区二区精品性色| 日本亚洲免费观看| 欧美日韩在线不卡| 亚洲精品亚洲人成人网在线播放| 国产激情精品久久久第一区二区 | 亚洲国产精品t66y| 日韩av在线发布| 3d动漫精品啪啪1区2区免费 | 99久久久久久99| 久久人人97超碰com| 久久电影网站中文字幕| 欧美日韩一区二区电影| 亚洲成a天堂v人片| 欧美在线观看一二区| 亚洲精品国产精品乱码不99| 成人综合婷婷国产精品久久蜜臀 | 欧美精品一级二级| 亚洲第一二三四区| 欧美天堂一区二区三区| 亚洲色图制服诱惑| 日本久久一区二区| 亚洲线精品一区二区三区| 91视频在线看| 亚洲欧美激情一区二区| 97精品国产97久久久久久久久久久久| 日本一区二区三区在线观看| 国产成人自拍高清视频在线免费播放 | 日韩午夜激情电影| 免费观看一级欧美片| 欧美一区二区啪啪| 韩国毛片一区二区三区| 久久久久久久久久久黄色| 风间由美一区二区av101| 国产精品久久久久久户外露出| 波多野结衣一区二区三区| 国产精品久久777777| 色悠悠亚洲一区二区| 亚洲综合清纯丝袜自拍| 制服丝袜一区二区三区| 精品一区二区成人精品| 国产精品人成在线观看免费 | 欧美一区二区视频免费观看| 精品一二线国产| 亚洲国产精品精华液2区45| 99久久国产综合精品色伊| 亚洲激情男女视频| 日韩午夜精品电影| aaa国产一区| 性做久久久久久| 欧美精品一区二区三区在线 | 日韩一区和二区| 国产福利一区二区三区| 亚洲狠狠丁香婷婷综合久久久| 91精品欧美福利在线观看| 国模套图日韩精品一区二区| 国产精品另类一区| 91麻豆精品国产91久久久久| 国产精品一二三四区| 亚洲人成在线观看一区二区| 日韩欧美国产电影| 97精品国产97久久久久久久久久久久 | 一区二区三区中文字幕电影| 欧美一级欧美一级在线播放| 不卡大黄网站免费看| 看电影不卡的网站| 一区av在线播放| 久久久一区二区| 7777精品伊人久久久大香线蕉超级流畅 | 亚洲人精品午夜| 精品久久一二三区| 在线观看视频一区| 成人天堂资源www在线| 五月综合激情婷婷六月色窝| 亚洲欧洲在线观看av| 精品三级在线看| 欧美日韩国产美女| 91热门视频在线观看| 国产精品18久久久久| 婷婷国产v国产偷v亚洲高清| 中文字幕在线一区免费| 久久久久99精品国产片| 欧美一区二区成人6969| 欧美日韩一区二区三区四区| 99re在线精品| 丰满白嫩尤物一区二区| 九九精品视频在线看| 日本成人在线不卡视频| 亚洲国产中文字幕在线视频综合| 中文字幕在线免费不卡| 国产女人18毛片水真多成人如厕 | 26uuu另类欧美亚洲曰本| 欧美日韩国产一级| 在线视频国内自拍亚洲视频| 成人午夜又粗又硬又大| 国产电影一区二区三区| 看国产成人h片视频| 裸体歌舞表演一区二区| 日韩精品午夜视频| 日韩专区一卡二卡| 日韩高清在线不卡| 日韩av电影免费观看高清完整版在线观看| 亚洲综合色婷婷| 午夜精品久久久| 日韩电影在线免费| 人人爽香蕉精品| 奇米色一区二区三区四区| 婷婷六月综合网| 日本视频一区二区三区| 蜜桃传媒麻豆第一区在线观看| 丝袜脚交一区二区| 久久精品国产澳门| 激情综合五月婷婷| 国产精品亚洲а∨天堂免在线| 国产成人免费视| 成人av在线看| 欧美综合一区二区三区| 欧美日本不卡视频| 欧美一区二区三区免费在线看| 欧美一级欧美一级在线播放| 久久午夜羞羞影院免费观看| 久久久久九九视频| 亚洲精品国产无天堂网2021| 日韩激情一区二区| 精品一区二区在线免费观看| 高清不卡一二三区| 91精品福利视频| 精品女同一区二区| 中文字幕在线一区二区三区| 亚洲韩国精品一区| 国产精品一区二区在线看| av中文字幕亚洲| 欧美人动与zoxxxx乱| 久久久噜噜噜久久人人看 | 免费日韩伦理电影| 国产91对白在线观看九色| 一本色道综合亚洲| 欧美mv和日韩mv国产网站| 国产精品毛片高清在线完整版| 亚洲精品日韩综合观看成人91| 丝袜亚洲另类欧美| 成人av网站免费观看| 91精品国产全国免费观看| 国产人妖乱国产精品人妖| 亚洲一区在线视频| 国产黄人亚洲片| 欧美高清视频在线高清观看mv色露露十八 | 欧美三级视频在线| 久久久影院官网| 日本麻豆一区二区三区视频| 99riav久久精品riav| 日韩一级片网址| 一区二区三区不卡视频| 国内成+人亚洲+欧美+综合在线| 在线精品视频一区二区| 久久久五月婷婷| 日韩精品乱码av一区二区| 91色视频在线| 国产三级欧美三级日产三级99| 亚洲成人免费av| 91麻豆精品在线观看| 欧美经典三级视频一区二区三区| 丝袜亚洲另类欧美| 欧美色综合网站| 综合电影一区二区三区 | 亚洲欧美日韩国产综合在线| 韩国成人在线视频| 欧美人与性动xxxx| 亚洲18影院在线观看| 色先锋资源久久综合| 国产亚洲精品精华液| 美女精品一区二区| 91.xcao| 肉色丝袜一区二区| 在线精品视频免费播放| 亚洲欧美日韩中文播放| 成人av午夜电影| 中文av一区特黄| av电影天堂一区二区在线观看| 久久久.com| 成人在线视频一区二区| 久久夜色精品一区| 韩国v欧美v日本v亚洲v| 久久只精品国产| 国产一区二区三区最好精华液| 日韩一级片网址| 中文字幕在线不卡一区二区三区| 福利视频网站一区二区三区| 国产欧美久久久精品影院| 国产成人aaa|