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

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

?? element.h

?? This software aims to create an applet and panel tools to manage a wireless interface card, such as
?? H
字號:
//
// Element.h
//
// $Id: //poco/Main/XML/include/DOM/Element.h#5 $
//
// Definition of the DOM Element class.
//
// Copyright (c) 2004, Guenter Obiltschnig/Applied Informatics.
// All rights reserved.
// 
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
// 
// 1. Redistributions of source code must retain the above copyright
//    notice, this list of conditions and the following disclaimer.
// 
// 2. Redistributions in binary form must reproduce the above copyright
//    notice, this list of conditions and the following disclaimer in the
//    documentation and/or other materials provided with the distribution.
// 
// 3. Redistributions in any form must be accompanied by information on
//    how to obtain complete source code for this software and any
//    accompanying software that uses this software.  The source code
//    must either be included in the distribution or be available for no
//    more than the cost of distribution plus a nominal fee, and must be
//    freely redistributable under reasonable conditions.  For an
//    executable file, complete source code means the source code for all
//    modules it contains.  It does not include source code for modules or
//    files that typically accompany the major components of the operating
//    system on which the executable file runs.
// 
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
// COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
// INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
// BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
// LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
// CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
// ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
// POSSIBILITY OF SUCH DAMAGE.
//


#ifndef DOM_Element_INCLUDED
#define DOM_Element_INCLUDED


#ifndef XML_XML_INCLUDED
#include "XML/XML.h"
#endif
#ifndef DOM_AbstractContainerNode_INCLUDED
#include "DOM/AbstractContainerNode.h"
#endif
#ifndef XML_Name_INCLUDED
#include "XML/Name.h"
#endif


XML_BEGIN


class Attr;
class NodeList;
class Document;


class XML_API Element: public AbstractContainerNode
	/// The Element interface represents an element in an XML document.
	/// Elements may have attributes associated with them; since the Element interface
	/// inherits from Node, the generic Node interface attribute attributes may
	/// be used to retrieve the set of all attributes for an element. There are
	/// methods on the Element interface to retrieve either an Attr object by name
	/// or an attribute value by name. In XML, where an attribute value may contain
	/// entity references, an Attr object should be retrieved to examine the possibly
	/// fairly complex sub-tree representing the attribute value. 
{
public:
	const XMLString& tagName() const;
		/// Returns the name of the element.
		///
		/// For example, in
		/// 
		///     <elementExample id="demo"> 
        ///         ... 
		///     </elementExample>
		///
		/// tagName has the value "elementExample". Note that this is case-preserving in XML, 
		/// as are all of the operations of the DOM.

	const XMLString& getAttribute(const XMLString& name) const;
		/// Retrieves an attribute value by name.

	void setAttribute(const XMLString& name, const XMLString& value);
		/// Adds a new attribute. If an attribute with that name is already present
		/// in the element, its value is changed to be that of the value parameter.
		/// This value is a simple string; it is not parsed as it is being set. So any
		/// markup (such as syntax to be recognized as an entity reference) is treated
		/// as literal text, and needs to be appropriately escaped by the implementation
		/// when it is written out.
 
	void removeAttribute(const XMLString& name);
		/// Removes an attribute by name.

	Attr* getAttributeNode(const XMLString& name) const;
		/// Retrieves an Attr node by name.

	Attr* setAttributeNode(Attr* newAttr);
		/// Adds a new attribute. If an attribute with that name is already
		/// present in the element, it is replaced by the new one.

	Attr* removeAttributeNode(Attr* oldAttr);
		/// Removes the specified attribute.

	NodeList* getElementsByTagName(const XMLString& name) const;
		/// Returns a NodeList of all descendant elements with a given tag
		/// name, in the order in which they would be encountered in a
		/// preorder traversal of the Element tree.
		///
		/// The special name "*" matches all tags.
		///
		/// The returned NodeList must be released with a call
		/// to release() when no longer needed.

	void normalize();
		/// Puts all Text nodes in the full depth of the sub-tree underneath this Element,
		/// including attribute nodes, into a "normal" form where only markup (e.g.,
		/// tags, comments, processing instructions, CDATA sections, and entity references)
		/// separates Text nodes, i.e., there are no adjacent Text nodes. This can be
		/// used to ensure that the DOM view of a document is the same as if it were
		/// saved and re-loaded, and is useful when operations (such as XPointer
		/// lookups) that depend on a particular document tree structure are to be used.
		/// 
		/// Note: In cases where the document contains CDATASections, the normalize
		/// operation alone may not be sufficient, since XPointers do not differentiate
		/// between Text nodes and CDATASection nodes.

	// DOM Level 2
	const XMLString& getAttributeNS(const XMLString& namespaceURI, const XMLString& localName) const;
		/// Retrieves an attribute value by name.

	void setAttributeNS(const XMLString& namespaceURI, const XMLString& qualifiedName, const XMLString& value);
		/// Adds a new attribute. If an attribute with that name
		/// is already present in the element, its value is changed
		/// to be that of the value parameter.

	void removeAttributeNS(const XMLString& namespaceURI, const XMLString& localName);
		/// Removes an attribute by name.

	Attr* getAttributeNodeNS(const XMLString& namespaceURI, const XMLString& localName) const;
		/// Retrieves an Attr node by name.

	Attr* setAttributeNodeNS(Attr* newAttr);
		/// Adds a new attribute. If an attribute with that name is already
		/// present in the element, it is replaced by the new one.

	bool hasAttribute(const XMLString& name) const;
		/// Returns true if and only if the element has the specified attribute.

	bool hasAttributeNS(const XMLString& namespaceURI, const XMLString& localName) const;
		/// Returns true if and only if the element has the specified attribute.

	NodeList* getElementsByTagNameNS(const XMLString& namespaceURI, const XMLString& localName) const;
		/// Returns a NodeList of all the descendant Elements with a given local name and namespace URI 
		/// in the order in which they are encountered in a preorder traversal of this Element tree.
		///
		/// The special value "*" matches all namespaces, or local names respectively.
		///
		/// The returned NodeList must be released with a call
		/// to release() when no longer needed.

	const XMLString& namespaceURI() const;
	XMLString prefix() const;
	const XMLString& localName() const;
	bool hasAttributes() const;

	// Non-standard extensions
	Element* getChildElement(const XMLString& name) const;
		/// Returns the first child element with the given name, or null
		/// if such an element does not exist.
		///
		/// This method is an extension to the W3C Document Object Model.

	Element* getChildElementNS(const XMLString& namespaceURI, const XMLString& localName) const;
		/// Returns the first child element with the given namespaceURI and localName,
		/// or null if such an element does not exist.
		///
		/// This method is an extension to the W3C Document Object Model.
		
	// Node
	const XMLString& nodeName() const;
	NamedNodeMap* attributes() const;
	unsigned short nodeType() const;

protected:
	Element(Document* pOwnerDocument, const XMLString& namespaceURI, const XMLString& localName, const XMLString& qname);
	Element(Document* pOwnerDocument, const Element& elem);
	~Element();

	Node* copyNode(bool deep, Document* pOwnerDocument) const;

	void dispatchNodeRemovedFromDocument();
	void dispatchNodeInsertedIntoDocument();

private:
	const Name& _name;
	Attr*       _pFirstAttr;

	friend class Attr;
	friend class Document;
	friend class AttrMap;
};


//
// inlines
//
inline const XMLString& Element::tagName() const
{
	return _name.qname();
}


XML_END


#endif // DOM_Element_INCLUDED

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲成人中文在线| 亚洲自拍偷拍综合| 日韩一区二区三区视频| 欧美三级乱人伦电影| 91麻豆成人久久精品二区三区| 国产一区二区导航在线播放| 蜜桃av噜噜一区二区三区小说| 麻豆一区二区99久久久久| 青青青爽久久午夜综合久久午夜| 男女性色大片免费观看一区二区| 婷婷综合在线观看| 蜜臀久久99精品久久久久宅男| 日韩不卡手机在线v区| 另类小说视频一区二区| 久久97超碰国产精品超碰| 国产精品一区二区果冻传媒| 国产福利91精品一区二区三区| 成人av资源在线观看| 色综合久久天天| 678五月天丁香亚洲综合网| 精品国产欧美一区二区| 久久精品人人做人人爽人人| 国产精品久久久久一区二区三区 | 欧美一区二区三区的| 欧美大片顶级少妇| 国产精品成人网| 亚洲成人综合视频| 国产成人福利片| 欧美性色欧美a在线播放| 欧美日韩成人激情| 中文字幕久久午夜不卡| 亚洲国产cao| 国产乱码精品1区2区3区| 北条麻妃国产九九精品视频| 欧美亚洲自拍偷拍| 欧美国产综合色视频| 亚洲丶国产丶欧美一区二区三区| 国产老肥熟一区二区三区| 色综合天天综合狠狠| 日韩亚洲电影在线| 亚洲精品亚洲人成人网在线播放| 麻豆国产欧美日韩综合精品二区| 99久久国产免费看| 2021国产精品久久精品| 亚洲一区影音先锋| zzijzzij亚洲日本少妇熟睡| 91精品国产综合久久久久久久| 国产网站一区二区三区| 亚洲一区二区五区| 国产不卡视频一区| 欧美www视频| 亚洲一区二区三区免费视频| 成人97人人超碰人人99| 久久蜜桃香蕉精品一区二区三区| 亚洲成人免费视频| 成人成人成人在线视频| www国产精品av| 午夜免费欧美电影| 欧洲中文字幕精品| 亚洲欧美国产三级| zzijzzij亚洲日本少妇熟睡| 久久久美女毛片| 国产精品一品视频| 久久久精品免费免费| 精品制服美女久久| 欧美电视剧在线观看完整版| 亚洲国产一区二区三区| 在线免费观看成人短视频| 亚洲欧洲一区二区在线播放| 成人高清免费观看| 国产精品免费观看视频| 国产成人自拍在线| 久久精品夜夜夜夜久久| 国内成人精品2018免费看| 欧美一区二区精品久久911| 手机精品视频在线观看| 欧美日韩成人一区| 日本美女一区二区三区| 欧美一二三区精品| 国精品**一区二区三区在线蜜桃 | 国产一区二区在线看| 久久综合视频网| 国产一区二区剧情av在线| 亚洲精品一区二区三区影院| 久久99久久精品| 久久精品一区二区| av成人免费在线| 亚洲男人的天堂在线观看| 欧美视频第二页| 青青草97国产精品免费观看| 欧美v亚洲v综合ⅴ国产v| 国产成人精品在线看| 亚洲欧洲精品成人久久奇米网| 91福利在线观看| 日日夜夜精品视频免费| 欧美精品一区二区久久婷婷| 成人av手机在线观看| 亚洲大片免费看| 久久久久久免费毛片精品| 91在线观看污| 午夜精品一区二区三区免费视频| 日韩欧美国产1| 成人app网站| 石原莉奈在线亚洲二区| 国产欧美日韩一区二区三区在线观看| 成人久久久精品乱码一区二区三区 | 青草国产精品久久久久久| 国产清纯美女被跳蛋高潮一区二区久久w| 国产精品亚洲第一| 午夜国产不卡在线观看视频| 久久久久国色av免费看影院| 在线观看免费一区| 国产伦理精品不卡| 午夜精品久久久久久久99樱桃| www成人在线观看| 欧美日韩午夜在线| 欧美性淫爽ww久久久久无| 国产精品乡下勾搭老头1| 午夜一区二区三区视频| 国产精品私房写真福利视频| 91精品国产91热久久久做人人| 99在线热播精品免费| 日本91福利区| 一区二区在线免费观看| 国产午夜精品久久久久久免费视| 欧美日韩精品三区| 色综合久久久久综合体| 国产成人免费9x9x人网站视频| 青青青爽久久午夜综合久久午夜| 综合av第一页| 国产欧美一区二区精品久导航| 欧美日韩免费观看一区三区| av中文字幕不卡| 国产一区二区三区蝌蚪| 日韩av一级片| 亚洲国产日韩av| 亚洲欧美日韩综合aⅴ视频| 欧美精彩视频一区二区三区| 日韩一区二区三区视频在线| 91豆麻精品91久久久久久| 国产成人午夜高潮毛片| 国产一区二区美女诱惑| 韩国av一区二区三区| 日本美女一区二区三区视频| 亚洲一区二区美女| 一个色综合av| 亚洲女人****多毛耸耸8| 国产精品色哟哟| 国产精品久久三区| 亚洲少妇30p| 亚洲天堂久久久久久久| 国产精品免费丝袜| 亚洲欧洲日韩一区二区三区| 中文字幕av资源一区| 国产精品久久久久影视| 亚洲人成伊人成综合网小说| 中文字幕在线一区免费| 亚洲视频免费看| 一区二区三区久久久| 亚洲国产中文字幕| 免费精品99久久国产综合精品| 日本一不卡视频| 久久66热re国产| 国产·精品毛片| 91福利精品第一导航| 4438x成人网最大色成网站| 日韩欧美中文字幕一区| 国产日韩精品一区二区三区| 亚洲欧洲日产国产综合网| 亚洲一区电影777| 六月丁香婷婷色狠狠久久| 国产乱人伦偷精品视频不卡| jiyouzz国产精品久久| 欧美日韩亚洲高清一区二区| 日韩视频123| 国产精品乱码一区二区三区软件 | 精品国产123| 国产精品成人一区二区艾草 | 精品福利一区二区三区免费视频| 国产网红主播福利一区二区| 亚洲三级电影网站| 三级在线观看一区二区| 大桥未久av一区二区三区中文| 一本久道久久综合中文字幕| 欧美区视频在线观看| 国产午夜精品久久久久久免费视| 一区二区三区在线播放| 久久超碰97中文字幕| 91麻豆精品秘密| 精品国产免费视频| 亚洲午夜电影网| 成人性生交大片免费看中文网站| 欧美三级三级三级| 国产精品色在线观看| 日本va欧美va瓶| 色吧成人激情小说| 欧美激情在线一区二区三区| 午夜国产精品一区| 日本高清不卡aⅴ免费网站| 久久综合国产精品|