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

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

?? domentityimpl.cpp

?? IBM的解析xml的工具Xerces的源代碼
?? CPP
字號(hào):
/* * Copyright 2001-2002,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: DOMEntityImpl.cpp,v 1.18 2004/09/08 13:55:51 peiyongz Exp $ */#include <xercesc/dom/DOMException.hpp>#include <xercesc/dom/DOMNode.hpp>#include <xercesc/dom/DOMEntityReference.hpp>#include "DOMEntityImpl.hpp"#include "DOMDocumentImpl.hpp"XERCES_CPP_NAMESPACE_BEGINDOMEntityImpl::DOMEntityImpl(DOMDocument *ownerDoc, const XMLCh *eName)   : fNode(ownerDoc),     fParent(ownerDoc),     fPublicId(0),     fSystemId(0),     fNotationName(0),     fRefEntity(0),     fActualEncoding(0),     fEncoding(0),     fVersion(0),          fBaseURI(0),     fEntityRefNodeCloned(false){       fName        = ((DOMDocumentImpl *)ownerDoc)->getPooledString(eName);    fNode.setReadOnly(true, true);}DOMEntityImpl::DOMEntityImpl(const DOMEntityImpl &other, bool deep)    : fNode(other.fNode),      fParent(other.fParent),      fName(other.fName),      fPublicId(other.fPublicId),      fSystemId(other.fSystemId),      fNotationName(other.fNotationName),      fRefEntity(other.fRefEntity),      fActualEncoding(other.fActualEncoding),      fEncoding(other.fEncoding),      fVersion(other.fVersion),      fBaseURI(other.fBaseURI),      fEntityRefNodeCloned(false){        if (deep)        fParent.cloneChildren(&other);       fNode.setReadOnly(true, true);}DOMEntityImpl::~DOMEntityImpl() {}DOMNode *DOMEntityImpl::cloneNode(bool deep) const{    DOMNode* newNode = new (getOwnerDocument(), DOMDocumentImpl::ENTITY_OBJECT) DOMEntityImpl(*this, deep);    fNode.callUserDataHandlers(DOMUserDataHandler::NODE_CLONED, this, newNode);    return newNode;}const XMLCh * DOMEntityImpl::getNodeName() const {    return fName;}short DOMEntityImpl::getNodeType() const {    return DOMNode::ENTITY_NODE;}const XMLCh * DOMEntityImpl::getNotationName() const{    return fNotationName;}const XMLCh * DOMEntityImpl::getPublicId() const {    return fPublicId;}const XMLCh * DOMEntityImpl::getSystemId() const{    return fSystemId;}const XMLCh* DOMEntityImpl::getBaseURI() const{    return fBaseURI;}void DOMEntityImpl::setNodeValue(const XMLCh *arg){    fNode.setNodeValue(arg);}void DOMEntityImpl::setNotationName(const XMLCh *arg){    DOMDocumentImpl *doc = (DOMDocumentImpl *)this->getOwnerDocument();    fNotationName = doc->cloneString(arg);}void DOMEntityImpl::setPublicId(const XMLCh *arg){    DOMDocumentImpl *doc = (DOMDocumentImpl *)this->getOwnerDocument();    fPublicId = doc->cloneString(arg);}void DOMEntityImpl::setSystemId(const XMLCh *arg){    DOMDocumentImpl *doc = (DOMDocumentImpl *)this->getOwnerDocument();    fSystemId = doc->cloneString(arg);}void DOMEntityImpl::setBaseURI(const XMLCh* baseURI) {    if (baseURI && *baseURI) {        XMLCh* temp = (XMLCh*) ((DOMDocumentImpl *)getOwnerDocument())->allocate((XMLString::stringLen(baseURI) + 9)*sizeof(XMLCh));        XMLString::fixURI(baseURI, temp);        fBaseURI = temp;    }    else        fBaseURI = 0;}void   DOMEntityImpl::setEntityRef(DOMEntityReference* other){    fRefEntity = other;}DOMEntityReference*  DOMEntityImpl::getEntityRef() const{    return fRefEntity;}void  DOMEntityImpl::cloneEntityRefTree() const{    if (fEntityRefNodeCloned)        return;    // cast off const.  This method is const because it is    //   called from a bunch of logically const methods, like    //   getFirstChild().    DOMEntityImpl *ncThis = (DOMEntityImpl *)this;    //lazily clone the entityRef tree to this entity    if (fParent.fFirstChild != 0)        return;    if (!fRefEntity)        return;    ncThis->fEntityRefNodeCloned = true;    ncThis->fNode.setReadOnly(false, true);    ncThis->fParent.cloneChildren(fRefEntity);    ncThis->fNode.setReadOnly(true, true);}DOMNode * DOMEntityImpl::getFirstChild() const{    cloneEntityRefTree();    return fParent.fFirstChild;}DOMNode *   DOMEntityImpl::getLastChild() const{    cloneEntityRefTree();    return fParent.getLastChild();}DOMNodeList* DOMEntityImpl::getChildNodes() const{    cloneEntityRefTree();    return this->fParent.getChildNodes();}bool DOMEntityImpl::hasChildNodes() const{    cloneEntityRefTree();    return fParent.fFirstChild!=0;}void DOMEntityImpl::release(){    if (fNode.isOwned() && !fNode.isToBeReleased())        throw DOMException(DOMException::INVALID_ACCESS_ERR,0, GetDOMNodeMemoryManager);    DOMDocumentImpl* doc = (DOMDocumentImpl*) getOwnerDocument();    if (doc) {        fNode.callUserDataHandlers(DOMUserDataHandler::NODE_DELETED, 0, 0);        fParent.release();        doc->release(this, DOMDocumentImpl::ENTITY_OBJECT);    }    else {        // shouldn't reach here        throw DOMException(DOMException::INVALID_ACCESS_ERR,0, GetDOMNodeMemoryManager);    }}////  Functions inherited from Node//           DOMNode*         DOMEntityImpl::appendChild(DOMNode *newChild)          {cloneEntityRefTree(); return fParent.appendChild (newChild); }           DOMNamedNodeMap* DOMEntityImpl::getAttributes() const                   {return fNode.getAttributes (); }     const XMLCh*           DOMEntityImpl::getLocalName() const                    {return fNode.getLocalName (); }     const XMLCh*           DOMEntityImpl::getNamespaceURI() const                 {return fNode.getNamespaceURI (); }           DOMNode*         DOMEntityImpl::getNextSibling() const                  {return fNode.getNextSibling (); }     const XMLCh*           DOMEntityImpl::getNodeValue() const                    {return fNode.getNodeValue (); }           DOMDocument*     DOMEntityImpl::getOwnerDocument() const                {return fParent.fOwnerDocument; }     const XMLCh*           DOMEntityImpl::getPrefix() const                       {return fNode.getPrefix (); }           DOMNode*         DOMEntityImpl::getParentNode() const                   {return fNode.getParentNode (); }           DOMNode*         DOMEntityImpl::getPreviousSibling() const              {return fNode.getPreviousSibling (); }           DOMNode*         DOMEntityImpl::insertBefore(DOMNode *newChild, DOMNode *refChild)                                                                                   {cloneEntityRefTree(); return fParent.insertBefore (newChild, refChild); }           void             DOMEntityImpl::normalize()                             {cloneEntityRefTree(); fParent.normalize (); }           DOMNode*         DOMEntityImpl::removeChild(DOMNode *oldChild)          {cloneEntityRefTree(); return fParent.removeChild (oldChild); }           DOMNode*         DOMEntityImpl::replaceChild(DOMNode *newChild, DOMNode *oldChild)                                                                                   {cloneEntityRefTree(); return fParent.replaceChild (newChild, oldChild); }           bool             DOMEntityImpl::isSupported(const XMLCh *feature, const XMLCh *version) const                                                                                   {return fNode.isSupported (feature, version); }           void             DOMEntityImpl::setPrefix(const XMLCh  *prefix)         {fNode.setPrefix(prefix); }           bool             DOMEntityImpl::hasAttributes() const                   {return fNode.hasAttributes(); }           bool             DOMEntityImpl::isSameNode(const DOMNode* other) const  {return fNode.isSameNode(other); }           bool             DOMEntityImpl::isEqualNode(const DOMNode* arg) const   {cloneEntityRefTree(); return fParent.isEqualNode(arg); }           void*            DOMEntityImpl::setUserData(const XMLCh* key, void* data, DOMUserDataHandler* handler)                                                                                   {return fNode.setUserData(key, data, handler); }           void*            DOMEntityImpl::getUserData(const XMLCh* key) const     {return fNode.getUserData(key); }           short            DOMEntityImpl::compareTreePosition(const DOMNode* other) const {return fNode.compareTreePosition(other); }           const XMLCh*     DOMEntityImpl::getTextContent() const                  {return fNode.getTextContent(); }           void             DOMEntityImpl::setTextContent(const XMLCh* textContent){fNode.setTextContent(textContent); }           const XMLCh*     DOMEntityImpl::lookupNamespacePrefix(const XMLCh* namespaceURI, bool useDefault) const  {return fNode.lookupNamespacePrefix(namespaceURI, useDefault); }           bool             DOMEntityImpl::isDefaultNamespace(const XMLCh* namespaceURI) const {return fNode.isDefaultNamespace(namespaceURI); }           const XMLCh*     DOMEntityImpl::lookupNamespaceURI(const XMLCh* prefix) const  {return fNode.lookupNamespaceURI(prefix); }           DOMNode*         DOMEntityImpl::getInterface(const XMLCh* feature)      {return fNode.getInterface(feature); }//Introduced in DOM Level 3const XMLCh* DOMEntityImpl::getActualEncoding() const {    return fActualEncoding;}void DOMEntityImpl::setActualEncoding(const XMLCh* actualEncoding){    DOMDocumentImpl *doc = (DOMDocumentImpl *)this->getOwnerDocument();    fActualEncoding = doc->cloneString(actualEncoding);}const XMLCh* DOMEntityImpl::getEncoding() const {    return fEncoding;}void DOMEntityImpl::setEncoding(const XMLCh* encoding){    DOMDocumentImpl *doc = (DOMDocumentImpl *)this->getOwnerDocument();    fEncoding = doc->cloneString(encoding);}const XMLCh* DOMEntityImpl::getVersion() const {    return fVersion;}void DOMEntityImpl::setVersion(const XMLCh* version){    DOMDocumentImpl *doc = (DOMDocumentImpl *)this->getOwnerDocument();    fVersion = doc->cloneString(version);}XERCES_CPP_NAMESPACE_END

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久精品99国产精品| 麻豆成人在线观看| 色偷偷成人一区二区三区91| 国产精品久久久久久久午夜片| 激情成人午夜视频| 欧美精品一区二| 国精品**一区二区三区在线蜜桃| 欧美电影免费观看高清完整版在线观看| 天天射综合影视| 777午夜精品免费视频| 日韩和的一区二区| 91麻豆精品国产91久久久久| 奇米色一区二区三区四区| 日韩视频123| 久久99精品久久久久| 精品国产乱码久久久久久1区2区| 精品一区二区三区欧美| 26uuu欧美日本| 顶级嫩模精品视频在线看| 国产精品麻豆久久久| 91小视频在线| 亚洲国产精品欧美一二99| 欧美色图在线观看| 琪琪久久久久日韩精品| 精品久久久久久久久久久久包黑料| 精品一区二区三区蜜桃| 久久久不卡网国产精品二区| 成人午夜激情影院| 亚洲欧美一区二区三区孕妇| 欧美羞羞免费网站| 日韩av电影一区| 久久影院视频免费| 成人综合在线观看| 一区二区三区成人| 4hu四虎永久在线影院成人| 久久精品国产亚洲5555| 久久九九99视频| 99视频国产精品| 亚洲国产成人tv| 精品久久人人做人人爰| 波多野结衣视频一区| 亚洲一区二区视频| 日韩午夜激情电影| 国产成人在线视频免费播放| 亚洲欧美另类小说| 欧美精品高清视频| 国产精品小仙女| 亚洲少妇中出一区| 91精品国产欧美日韩| 国产一区999| 亚洲精品成人悠悠色影视| 7777精品伊人久久久大香线蕉超级流畅| 久久国产日韩欧美精品| 国产精品女主播在线观看| 欧美性猛交xxxx黑人交| 久久99国产精品成人| 国产精品第一页第二页第三页 | 日韩电影在线免费观看| 久久青草国产手机看片福利盒子 | 国产精品夜夜嗨| 一区二区三区免费在线观看| 日韩欧美123| 99精品视频在线观看免费| 日韩高清在线观看| 国产精品嫩草影院com| 欧美日韩午夜在线| 国产成人亚洲精品青草天美| 一区二区三区日韩精品视频| 欧美成人精品福利| 91久久精品一区二区| 国内成人自拍视频| 亚洲高清视频在线| 欧美极品美女视频| 51午夜精品国产| 91香蕉视频mp4| 久久国产精品72免费观看| 亚洲黄色小视频| 久久久精品免费免费| 欧美日韩国产美| 91网站在线观看视频| 韩国av一区二区| 视频在线观看一区二区三区| 国产精品色婷婷久久58| 日韩精品自拍偷拍| 在线看国产日韩| 风间由美一区二区三区在线观看| 日日夜夜一区二区| 亚洲欧美激情插| 中文字幕国产一区二区| 日韩精品中文字幕一区二区三区| 一本一本久久a久久精品综合麻豆| 九九在线精品视频| 五月激情综合婷婷| 亚洲免费观看在线视频| 国产欧美一区二区三区网站| 欧美电影精品一区二区| 欧美日韩夫妻久久| 色成人在线视频| 成人黄色小视频在线观看| 久久99精品国产.久久久久久| 亚洲一区二区不卡免费| 亚洲欧洲精品成人久久奇米网| xfplay精品久久| 日韩欧美国产精品| 欧美日韩中文另类| 色天使色偷偷av一区二区| 成人黄色软件下载| 成人午夜视频免费看| 国产精品一区二区男女羞羞无遮挡| 奇米影视一区二区三区| 偷拍日韩校园综合在线| 亚洲国产综合色| 一区二区在线看| 自拍偷在线精品自拍偷无码专区| 国产清纯白嫩初高生在线观看91| 精品国产青草久久久久福利| 日韩亚洲欧美在线| 91精品久久久久久久99蜜桃| 欧美日免费三级在线| 欧美午夜一区二区三区 | a4yy欧美一区二区三区| 国产成人精品网址| 国产成人亚洲精品狼色在线| 国产一区二区不卡| 国产美女在线观看一区| 精品亚洲porn| 精品一区在线看| 精品一区二区三区影院在线午夜 | 欧美自拍丝袜亚洲| 欧美性猛交xxxx黑人交| 精品视频在线视频| 欧美性淫爽ww久久久久无| 欧美日韩一区二区三区高清| 欧美色图免费看| 欧美日韩国产三级| 欧美一区在线视频| 日韩一区二区三区四区五区六区| 日韩欧美不卡一区| 26uuu欧美| 国产精品久久毛片av大全日韩| 中日韩av电影| 亚洲三级在线免费| 一区二区三区蜜桃| 爽爽淫人综合网网站| 麻豆精品蜜桃视频网站| 精品无人区卡一卡二卡三乱码免费卡 | 国产精品国产三级国产aⅴ入口 | 久久只精品国产| 亚洲国产成人一区二区三区| 国产精品电影一区二区| 一区二区三区毛片| 婷婷六月综合亚洲| 韩国中文字幕2020精品| 国产suv一区二区三区88区| www.亚洲免费av| 欧美在线色视频| 3atv在线一区二区三区| 精品第一国产综合精品aⅴ| 国产欧美日韩视频在线观看| 亚洲人成网站影音先锋播放| 午夜欧美大尺度福利影院在线看| 久久99久久久欧美国产| 成人免费毛片片v| 欧美中文字幕一区| 日韩一区二区不卡| 国产女人aaa级久久久级| 亚洲人成网站影音先锋播放| 婷婷夜色潮精品综合在线| 国产主播一区二区| 91视频国产资源| 欧美一区二区私人影院日本| 久久精品一区二区三区不卡牛牛| 国产精品传媒视频| 亚洲bt欧美bt精品| 国产精华液一区二区三区| 日本黄色一区二区| 精品日韩一区二区| 亚洲免费看黄网站| 捆绑调教美女网站视频一区| 94色蜜桃网一区二区三区| 7777精品伊人久久久大香线蕉超级流畅 | 三级欧美韩日大片在线看| 国产精一品亚洲二区在线视频| 91在线播放网址| 日韩久久免费av| 亚洲美女在线一区| 韩国三级在线一区| 欧日韩精品视频| 国产欧美综合在线观看第十页| 五月天久久比比资源色| 成人性生交大片免费看在线播放 | 一区二区三区在线观看视频| 美国av一区二区| 一本色道久久综合精品竹菊| 日韩免费视频一区| 亚洲精品自拍动漫在线| 国产综合久久久久影院| 亚洲日本在线视频观看| 国产在线乱码一区二区三区| 欧美日韩小视频|