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

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

?? dom_text.cpp

?? It is WEB browser core module with source code. Very good!
?? CPP
字號:
/**
 * This file is part of the DOM implementation for KDE.
 *
 * (C) 1999 Lars Knoll (knoll@kde.org)
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Library General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Library General Public License for more details.
 *
 * You should have received a copy of the GNU Library General Public License
 * along with this library; see the file COPYING.LIB.  If not, write to
 * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 * Boston, MA 02111-1307, USA.
 *
 */

#include "dom/dom_exception.h"
#include "dom/dom_text.h"
#include "xml/dom_textimpl.h"

namespace DOM {

CharacterData::CharacterData() : Node()
{
}

CharacterData::CharacterData(const CharacterData &other) : Node(other)
{
}

CharacterData &CharacterData::operator = (const Node &other)
{
    NodeImpl* ohandle = other.handle();
    if ( impl != ohandle ) {
    if (!ohandle ||
        ( ohandle->nodeType() != CDATA_SECTION_NODE &&
          ohandle->nodeType() != TEXT_NODE &&
          ohandle->nodeType() != COMMENT_NODE )) {
	    if ( impl ) impl->deref();
	impl = 0;
	} else {
    Node::operator =(other);
	}
    }
    return *this;
}

CharacterData &CharacterData::operator = (const CharacterData &other)
{
    Node::operator =(other);
    return *this;
}

CharacterData::~CharacterData()
{
}

DOMString CharacterData::data() const
{
    if(!impl) return DOMString();
    return ((CharacterDataImpl *)impl)->data();
}

void CharacterData::setData( const DOMString &str )
{
    if (!impl)
	return; // ### enable throw DOMException(DOMException::NOT_FOUND_ERR);

    int exceptioncode = 0;
    ((CharacterDataImpl *)impl)->setData(str, exceptioncode);
    if ( exceptioncode )
#if KHTML_NO_EXCEPTIONS    
        { _exceptioncode = exceptioncode; return; }
#else
	throw DOMException( exceptioncode );
#endif    
    return;
}

unsigned long CharacterData::length() const
{
    if ( impl )
	return ((CharacterDataImpl *)impl)->length();
    return 0;
}

DOMString CharacterData::substringData( const unsigned long offset, const unsigned long count )
{
    if (!impl)
	return DOMString(); // ### enable throw DOMException(DOMException::NOT_FOUND_ERR);

    int exceptioncode = 0;
    DOMString str = ((CharacterDataImpl *)impl)->substringData(offset, count, exceptioncode);
    if ( exceptioncode )
#if KHTML_NO_EXCEPTIONS    
	{ _exceptioncode =  exceptioncode ; return DOMString(); }
#else
	throw DOMException( exceptioncode );
#endif    
    return str;
}

void CharacterData::appendData( const DOMString &arg )
{
    if (!impl)
	return; // ### enable throw DOMException(DOMException::NOT_FOUND_ERR);

    int exceptioncode = 0;
    ((CharacterDataImpl *)impl)->appendData(arg, exceptioncode);
    if ( exceptioncode )
#if KHTML_NO_EXCEPTIONS    
	{ _exceptioncode =  exceptioncode ; return; }
#else
	throw DOMException( exceptioncode );
#endif    
}

void CharacterData::insertData( const unsigned long offset, const DOMString &arg )
{
    if (!impl)
	return; // ### enable throw DOMException(DOMException::NOT_FOUND_ERR);

    int exceptioncode = 0;
    ((CharacterDataImpl *)impl)->insertData(offset, arg, exceptioncode);
    if ( exceptioncode )
#if KHTML_NO_EXCEPTIONS    
	{ _exceptioncode =  exceptioncode ; return; }
#else
	throw DOMException( exceptioncode );
#endif    
}

void CharacterData::deleteData( const unsigned long offset, const unsigned long count )
{
    if (!impl)
	return; // ### enable throw DOMException(DOMException::NOT_FOUND_ERR);

    int exceptioncode = 0;
    ((CharacterDataImpl *)impl)->deleteData(offset, count, exceptioncode);
    if ( exceptioncode )
#if KHTML_NO_EXCEPTIONS    
	{ _exceptioncode =  exceptioncode ; return; }
#else
	throw DOMException( exceptioncode );
#endif    
}

void CharacterData::replaceData( const unsigned long offset, const unsigned long count, const DOMString &arg )
{
    if (!impl)
	return; // ### enable throw DOMException(DOMException::NOT_FOUND_ERR);

    int exceptioncode = 0;
    ((CharacterDataImpl *)impl)->replaceData(offset, count, arg, exceptioncode);
    if ( exceptioncode )
#if KHTML_NO_EXCEPTIONS    
	{ _exceptioncode =  exceptioncode ; return; }
#else
	throw DOMException( exceptioncode );
#endif    
}

CharacterData::CharacterData(CharacterDataImpl *i) : Node(i)
{
}

// ---------------------------------------------------------------------------

Comment::Comment() : CharacterData()
{
}

Comment::Comment(const Comment &other) : CharacterData(other)
{
}

Comment &Comment::operator = (const Node &other)
{
    NodeImpl* ohandle = other.handle();
    if ( impl != ohandle ) {
    if (!ohandle || ohandle->nodeType() != COMMENT_NODE) {
	    if ( impl ) impl->deref();
	impl = 0;
	} else {
    Node::operator =(other);
	}
    }
    return *this;
}

Comment &Comment::operator = (const Comment &other)
{
    CharacterData::operator =(other);
    return *this;
}

Comment::~Comment()
{
}

Comment::Comment(CommentImpl *i) : CharacterData(i)
{
}

// ----------------------------------------------------------------------------

Text::Text()
{
}

Text::Text(const Text &other) : CharacterData(other)
{
}

Text &Text::operator = (const Node &other)
{
    NodeImpl* ohandle = other.handle();
    if ( impl != ohandle ) {
    if (!ohandle ||
        (ohandle->nodeType() != TEXT_NODE &&
         ohandle->nodeType() != CDATA_SECTION_NODE)) {
	    if ( impl ) impl->deref();
	impl = 0;
	} else {
    Node::operator =(other);
	}
    }
    return *this;
}

Text &Text::operator = (const Text &other)
{
    Node::operator =(other);
    return *this;
}

Text::~Text()
{
}

Text Text::splitText( const unsigned long offset )
{
    if (!impl)
	return 0; // ### enable throw DOMException(DOMException::NOT_FOUND_ERR);

    int exceptioncode = 0;
    TextImpl *newText = static_cast<TextImpl *>(impl)->splitText(offset, exceptioncode );
    if ( exceptioncode )
#if KHTML_NO_EXCEPTIONS    
	{ _exceptioncode =  exceptioncode ; return 0; }
#else
	throw DOMException( exceptioncode );
#endif    
    return newText;
}

Text::Text(TextImpl *i) : CharacterData(i)
{
}

} // namespace DOM

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国内成人精品2018免费看| 久久精品国内一区二区三区| 精品国产乱子伦一区| 日韩欧美一区在线观看| 91精品国产一区二区三区| 欧美一区二区啪啪| 精品久久久久久亚洲综合网 | 性做久久久久久久免费看| 亚洲免费观看高清完整版在线观看| 亚洲欧洲av一区二区三区久久| 国产精品二区一区二区aⅴ污介绍| 亚洲欧洲成人精品av97| 亚洲一区在线看| 日本91福利区| 国产福利精品一区二区| jiyouzz国产精品久久| 欧洲一区二区三区在线| 在线播放国产精品二区一二区四区| 日韩一区二区三区视频在线 | 欧美成人免费网站| 久久亚洲精精品中文字幕早川悠里| 国产人成亚洲第一网站在线播放 | 日韩av一区二区三区四区| 国产一区二区三区在线观看精品| 懂色av噜噜一区二区三区av| 成人短视频下载| 67194成人在线观看| 国产免费久久精品| 香蕉久久一区二区不卡无毒影院| 国产一区二三区好的| 色综合婷婷久久| 欧美xxxx在线观看| 亚洲欧洲中文日韩久久av乱码| 午夜私人影院久久久久| 国产91露脸合集magnet| 欧美精品tushy高清| 成人免费一区二区三区在线观看| 天堂av在线一区| 成人99免费视频| 久久夜色精品一区| 日韩精品1区2区3区| 91视频观看视频| 国产亚洲欧美色| 肉色丝袜一区二区| 91最新地址在线播放| 精品成人a区在线观看| 亚洲国产精品嫩草影院| 成人a区在线观看| wwwwxxxxx欧美| 日本欧美一区二区三区乱码| 91啪九色porn原创视频在线观看| 精品免费日韩av| 免费成人在线网站| 欧美日本乱大交xxxxx| 亚洲人一二三区| 风流少妇一区二区| 日韩欧美视频在线| 亚州成人在线电影| 欧美日韩一区国产| 亚洲国产乱码最新视频| 色香色香欲天天天影视综合网| 国产欧美日韩综合精品一区二区| 日日摸夜夜添夜夜添精品视频 | 97精品久久久久中文字幕| 国产网站一区二区| 国产一区二区三区电影在线观看 | 亚洲人精品午夜| 成人黄色软件下载| 国产精品每日更新| 成人性生交大片免费| 国产日韩欧美精品一区| 国产一区二区三区四区五区美女| 26uuuu精品一区二区| 毛片一区二区三区| 日韩午夜在线影院| 国产在线精品一区二区夜色| 精品久久久久一区二区国产| 黄色日韩三级电影| 久久久久久久av麻豆果冻| 国产成人在线色| 中文一区在线播放| 一本久道中文字幕精品亚洲嫩| 亚洲欧洲制服丝袜| 欧美日韩一区不卡| 久久99国产精品免费网站| 久久婷婷一区二区三区| av午夜精品一区二区三区| 一区二区三区丝袜| 9191成人精品久久| 国产成人日日夜夜| 亚洲黄色小说网站| 日韩欧美成人激情| 成人的网站免费观看| 一区二区三区中文在线| 91精品国产一区二区三区| 国产成人亚洲综合a∨婷婷| 一色桃子久久精品亚洲| 欧美亚洲丝袜传媒另类| 蜜桃精品在线观看| 亚洲理论在线观看| 欧美日韩一区精品| 欧美一级生活片| 欧美一级一区二区| 成人综合日日夜夜| 亚洲国产精品一区二区久久恐怖片| 欧美日韩国产首页| 国产成人在线网站| 无码av免费一区二区三区试看| 久久众筹精品私拍模特| 色综合天天综合网天天看片| 首页欧美精品中文字幕| 中文天堂在线一区| 91精品国产色综合久久不卡蜜臀| 成人爽a毛片一区二区免费| 首页国产欧美久久| 国产精品乱子久久久久| 欧美电影免费观看高清完整版在| 成人污污视频在线观看| 日本sm残虐另类| 一区二区三区在线影院| 欧美国产精品v| 日韩午夜av一区| 欧美日韩国产天堂| 97久久超碰国产精品电影| 精品在线播放免费| 青青草国产成人av片免费| 亚洲精品国产无套在线观| 国产色91在线| 日韩精品最新网址| 欧美福利电影网| 91老师国产黑色丝袜在线| 国产高清久久久| 国产综合色精品一区二区三区| 午夜亚洲国产au精品一区二区| 最新热久久免费视频| 日本一区二区免费在线观看视频| 日韩一区二区三区免费看| 欧美日韩成人综合| 欧美日韩日日摸| 欧美亚洲综合久久| 91香蕉视频mp4| 成人黄色电影在线| a美女胸又www黄视频久久| 国产999精品久久久久久绿帽| 久久激情五月激情| 老汉av免费一区二区三区 | 激情另类小说区图片区视频区| 亚洲国产成人av| 亚洲成人三级小说| 午夜精品福利久久久| 一区二区三区久久| 亚洲国产综合视频在线观看| 亚洲国产三级在线| 亚洲国产一二三| 日韩精品一区第一页| 欧美aaaaa成人免费观看视频| 视频一区视频二区中文| 偷窥国产亚洲免费视频| 男女性色大片免费观看一区二区| 久久精品国产亚洲一区二区三区| 欧美a一区二区| 成人综合在线观看| 91国产成人在线| 91精品国产福利| 国产人成亚洲第一网站在线播放| 国产精品二三区| 午夜视频在线观看一区二区三区| 日本午夜精品一区二区三区电影| 久久电影网电视剧免费观看| 国产精品一区二区在线观看不卡 | 首页欧美精品中文字幕| 久久机这里只有精品| 国产a级毛片一区| 一本到三区不卡视频| 欧美日韩国产中文| 久久新电视剧免费观看| 亚洲人成小说网站色在线| 日韩激情在线观看| 国产成人免费视频网站 | 色视频成人在线观看免| 欧美日韩高清不卡| 欧美激情综合在线| 亚洲国产精品麻豆| 国产一区二区久久| 欧美天堂一区二区三区| 久久久亚洲午夜电影| 一区二区三区在线观看视频| 麻豆精品在线视频| 在线免费观看日本一区| 久久综合精品国产一区二区三区| 一个色在线综合| 国产激情偷乱视频一区二区三区| 欧美午夜精品一区二区蜜桃| 久久久久久一二三区| 亚洲444eee在线观看| 99久久精品国产毛片| 国产日产精品1区| 激情综合亚洲精品| 精品视频一区三区九区| 亚洲欧美怡红院|