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

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

?? document.h

?? This software aims to create an applet and panel tools to manage a wireless interface card, such as
?? H
字號:
//
// Document.h
//
// $Id: //poco/Main/XML/include/DOM/Document.h#5 $
//
// Definition of the DOM Document 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_Document_INCLUDED
#define DOM_Document_INCLUDED


#ifndef XML_XML_INCLUDED
#include "XML/XML.h"
#endif
#ifndef DOM_AbstractContainerNode_INCLUDED
#include "DOM/AbstractContainerNode.h"
#endif
#ifndef DOM_DocumentEvent_INCLUDED
#include "DOM/DocumentEvent.h"
#endif
#ifndef XML_XMLString_INCLUDED
#include "XML/XMLString.h"
#endif
#ifndef XML_NamePool_INCLUDED
#include "XML/NamePool.h"
#endif
#ifndef Foundation_AutoReleasePool_INCLUDED
#include "Foundation/AutoReleasePool.h"
#endif


XML_BEGIN


class NamePool;
class DocumentType;
class DOMImplementation;
class Element;
class DocumentFragment;
class Text;
class Comment;
class CDATASection;
class ProcessingInstruction;
class Attr;
class EntityReference;
class NodeList;
class Entity;
class Notation;


class XML_API Document: public AbstractContainerNode, public DocumentEvent
	/// The Document interface represents the entire HTML or XML document. Conceptually, 
	/// it is the root of the document tree, and provides the primary access to the 
	/// document's data.
	///
	/// Since elements, text nodes, comments, processing instructions, etc. cannot exist 
	/// outside the context of a Document, the Document interface also contains the 
	/// factory methods needed to create these objects. The Node objects created have a 
	/// ownerDocument attribute which associates them with the Document within whose 
	/// context they were created.
{
public:
	typedef Foundation::AutoReleasePool<DOMObject> AutoReleasePool;

	Document(NamePool* pNamePool = 0);
		/// Creates a new document. If pNamePool == 0, the document
		/// creates its own name pool, otherwise it uses the given name pool.
		/// Sharing a name pool makes sense for documents containing instances
		/// of the same schema, thus reducing memory usage.

	Document(DocumentType* pDocumentType, NamePool* pNamePool = 0);
		/// Creates a new document. If pNamePool == 0, the document
		/// creates its own name pool, otherwise it uses the given name pool.
		/// Sharing a name pool makes sense for documents containing instances
		/// of the same schema, thus reducing memory usage.

	NamePool& namePool();
		/// Returns a pointer to the documents Name Pool.

	AutoReleasePool& autoReleasePool();
		/// Returns a pointer to the documents Auto Release Pool.

	void collectGarbage();
		/// Releases all objects in the Auto Release Pool.

	void suspendEvents();
		/// Suspends all events until resumeEvents() is called.

	void resumeEvents();
		/// Resumes all events suspended with suspendEvent();

	bool eventsSuspended() const;
		/// Returns true if events are suspeded.

	bool events() const;
		/// Returns true if events are not suspeded.

	const DocumentType* doctype() const;
		/// The Document Type Declaration (see DocumentType) associated with this document.
		/// For HTML documents as well as XML documents without a document type declaration
		/// this returns null. The DOM Level 1 does not support editing the Document
		/// Type Declaration. docType cannot be altered in any way, including through
		/// the use of methods inherited from the Node interface, such as insertNode
		/// or removeNode.

	const DOMImplementation& implementation() const;
		/// The DOMImplementation object that handles this document. A DOM application
		/// may use objects from multiple implementations.

	Element* documentElement() const;
		/// This is a convenience attribute that allows direct access to the child node
		/// that is the root element of the document. For HTML documents, this is the
		/// element with the tagName "HTML".

	Element* createElement(const XMLString& tagName) const;
		/// Creates an element of the type specified. Note that the instance returned
		/// implements the Element interface, so attributes can be specified directly
		/// on the returned object.
		///
		/// In addition, if there are known attributes with default values, Attr nodes
		/// representing them are automatically created and attached to the element.

	DocumentFragment* createDocumentFragment() const;
		/// Creates an empty DocumentFragment object.

	Text* createTextNode(const XMLString& data) const;
		/// Creates a text node given the specified string.

	Comment* createComment(const XMLString& data) const;
		/// Creates a comment node given the specified string.

	CDATASection* createCDATASection(const XMLString& data) const;
		/// Creates a CDATASection node whose value is the specified string.

	ProcessingInstruction* createProcessingInstruction(const XMLString& target, const XMLString& data) const;
		/// Creates a ProcessingInstruction node given the specified target and data strings.

	Attr* createAttribute(const XMLString& name) const;	
		/// Creates an Attr of the given name. Note that the Attr instance can then
		/// be set on an Element using the setAttributeNode method.	

	EntityReference* createEntityReference(const XMLString& name) const;
		/// Creates an EntityReference object. In addition, if the referenced entity
		/// is known, the child list of the EntityReference node is made the same as
		/// that of the corresponding Entity node.

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

	// DOM Level 2
	Node* importNode(Node* importedNode, bool deep);
		/// Imports a node from another document to this document. The returned node
		/// has no parent; (parentNode is null). The source node is not altered or removed
		/// from the original document; this method creates a new copy of the source
		/// node.
		/// For all nodes, importing a node creates a node object owned by the importing
		/// document, with attribute values identical to the source node's nodeName
		/// and nodeType, plus the attributes related to namespaces (prefix, localName,
		/// and namespaceURI). As in the cloneNode operation on a Node, the source node
		/// is not altered.
		/// Additional information is copied as appropriate to the nodeType, attempting
		/// to mirror the behavior expected if a fragment of XML or HTML source was
		/// copied from one document to another, recognizing that the two documents
		/// may have different DTDs in the XML case.

	Element* createElementNS(const XMLString& namespaceURI, const XMLString& qualifiedName) const;
		/// Creates an element of the given qualified name and namespace URI.

	Attr* createAttributeNS(const XMLString& namespaceURI, const XMLString& qualifiedName) const;
		/// Creates an attribute of the given qualified name and namespace URI.

	NodeList* getElementsByTagNameNS(const XMLString& namespaceURI, const XMLString& localName) const;
		/// Returns a NodeList of all the Elements with a given local name and 
		/// namespace URI in the order in which they are encountered in a 
		/// preorder traversal of the Document tree.

	Element* getElementById(const XMLString& elementId) const;
		/// Returns the Element whose ID is given by elementId. If no such 
		/// element exists, returns null. Behavior is not defined if more
		/// than one element has this ID. 
		///
		/// Note: The DOM implementation must have information that says 
		/// which attributes are of type ID. Attributes with the name "ID"
		/// are not of type ID unless so defined. Implementations that do 
		/// not know whether attributes are of type ID or not are expected to
		/// return null. This implementation therefore returns null.

	// DocumentEvent
	Event* createEvent(const XMLString& eventType) const;

	// Node
	const XMLString& nodeName() const;
	unsigned short nodeType() const;

	// EventTarget
	bool dispatchEvent(Event* evt);
	
	// Extensions
	Entity* createEntity(const XMLString& name, const XMLString& publicId, const XMLString& systemId, const XMLString& notationName) const;
		/// Creates an Entity with the given name, publicId, systemId and notationName.
		///
		/// This method is not part of the W3C Document Object Model.

	Notation* createNotation(const XMLString& name, const XMLString& publicId, const XMLString& systemId) const;
		/// Creates a Notation with the given name, publicId and systemId.
		///
		/// This method is not part of the W3C Document Object Model.

protected:
	~Document();

	Node* copyNode(bool deep, Document* pOwnerDocument) const;
	
	DocumentType* getDoctype();
	void setDoctype(DocumentType* pDoctype);

private:
	DocumentType*   _pDocumentType;
	NamePool*       _pNamePool;
	AutoReleasePool _autoReleasePool;
	int             _eventSuspendLevel;

	static const XMLString NODE_NAME;
	
	friend class DOMBuilder;
};


//
// inlines
//
inline NamePool& Document::namePool()
{
	return *_pNamePool;
}


inline Document::AutoReleasePool& Document::autoReleasePool()
{
	return _autoReleasePool;
}


inline const DocumentType* Document::doctype() const
{
	return _pDocumentType;
}


inline DocumentType* Document::getDoctype()
{
	return _pDocumentType;
}


XML_END


#endif // DOM_Document_INCLUDED

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美日韩亚洲不卡| 福利91精品一区二区三区| 国产精品欧美精品| 日韩精品中文字幕一区| 欧美日韩国产影片| 色婷婷一区二区| 成人精品视频.| 久久精品免费看| 亚洲成人你懂的| 久久久久国产精品人| 欧美日韩免费观看一区二区三区| 欧美aaa在线| 日本美女一区二区| 亚洲国产精品精华液网站| 一区二区三区在线视频免费| 亚洲视频小说图片| 久久精品视频一区二区| 欧美日韩国产经典色站一区二区三区| 波多野结衣欧美| 99精品久久只有精品| gogo大胆日本视频一区| 91免费精品国自产拍在线不卡| 99视频超级精品| 欧美在线观看视频一区二区三区| 欧美日韩精品免费| 91精品国产一区二区三区蜜臀 | 91精品国产一区二区| 欧美日韩亚洲丝袜制服| 91亚洲精华国产精华精华液| 丁香桃色午夜亚洲一区二区三区| 国产一区二区三区在线看麻豆| 国产综合一区二区| 成人黄色国产精品网站大全在线免费观看| 久久久99精品免费观看| 久久美女高清视频| 亚洲乱码国产乱码精品精98午夜| 亚洲最色的网站| 久久精品国产在热久久| 国产成人精品影视| thepron国产精品| 欧美伊人精品成人久久综合97| 欧美日韩国产一级| 亚洲精品一区二区三区99| 国产偷v国产偷v亚洲高清| 中文字幕一区二区三区四区| 亚洲图片欧美色图| 久久狠狠亚洲综合| 972aa.com艺术欧美| 在线观看日韩电影| 久久久99精品久久| 亚洲国产日韩一级| 国产精品88av| 91精品国产综合久久婷婷香蕉| 国产亚洲欧美色| 亚洲小少妇裸体bbw| 国产成人免费视| 欧美猛男gaygay网站| 久久精品视频一区二区三区| 午夜视频一区在线观看| 高清在线观看日韩| 91麻豆精品国产91| 综合婷婷亚洲小说| 韩国精品一区二区| 精品视频在线视频| 成人免费在线视频观看| 日本亚洲免费观看| 色屁屁一区二区| 久久九九国产精品| 捆绑调教一区二区三区| 在线观看亚洲一区| 国产精品无人区| 国产一区二区主播在线| 日韩欧美电影一区| 一级日本不卡的影视| 波多野结衣中文字幕一区二区三区| 欧美一区二区国产| 亚洲成人av资源| 91免费版在线| 亚洲欧美日韩国产综合在线| 成人午夜在线免费| 国产欧美日产一区| 成人午夜免费电影| 国产欧美精品一区二区色综合| 激情五月婷婷综合网| 日韩午夜电影在线观看| 青青草精品视频| 在线不卡一区二区| 午夜久久久久久电影| 欧美日韩中文一区| 日韩精品免费专区| 日韩一区二区在线播放| 蜜臀精品一区二区三区在线观看 | 欧美无砖砖区免费| 一区二区在线观看免费视频播放| 94色蜜桃网一区二区三区| 一区免费观看视频| 欧美日韩精品欧美日韩精品一| 九九热在线视频观看这里只有精品| 久久亚洲捆绑美女| 91在线免费播放| 另类小说一区二区三区| 国产欧美精品区一区二区三区| 欧美一区二区三区的| 黑人巨大精品欧美黑白配亚洲| 亚洲欧美中日韩| 欧美一区二区观看视频| 国产.欧美.日韩| 视频一区二区三区在线| 精品国产伦一区二区三区观看体验| 免费精品视频在线| 国产欧美日韩视频在线观看| 91蝌蚪porny| 日韩激情一二三区| 久久久三级国产网站| 不卡一卡二卡三乱码免费网站| 亚洲乱码国产乱码精品精的特点 | 中文字幕高清一区| 欧美亚州韩日在线看免费版国语版| 日韩vs国产vs欧美| 国产精品美女久久久久久久久| 欧美在线观看禁18| 国产在线精品一区二区不卡了| 亚洲视频免费观看| 欧美成人艳星乳罩| 色哟哟一区二区在线观看| 日韩电影网1区2区| 国产精品高潮久久久久无| 欧美日韩在线不卡| 成熟亚洲日本毛茸茸凸凹| 午夜私人影院久久久久| 国产精品传媒入口麻豆| 欧美久久久一区| jiyouzz国产精品久久| 免费黄网站欧美| 日本一区二区三区国色天香 | 亚洲欧美日韩中文字幕一区二区三区| 欧美在线观看视频在线| 高清不卡在线观看| 国产成人av电影在线| 国内精品伊人久久久久av影院| 亚洲免费观看高清完整版在线观看熊| 欧美一区二区三区小说| 色婷婷av一区| 北岛玲一区二区三区四区| 久久99久久99| 偷窥国产亚洲免费视频| 国产欧美精品区一区二区三区 | 色一情一乱一乱一91av| 国产一区二区三区久久久| 一区二区三区四区激情| 中文一区一区三区高中清不卡| 91精品国产综合久久香蕉的特点 | 日韩欧美亚洲国产另类| 色爱区综合激月婷婷| 国产福利视频一区二区三区| 日韩二区三区在线观看| 亚洲444eee在线观看| 伊人一区二区三区| 亚洲精品乱码久久久久久| 中文字幕欧美一区| 国产精品不卡在线| 欧美高清在线一区二区| 久久久久久久综合狠狠综合| 日韩限制级电影在线观看| 在线综合视频播放| 日本精品一区二区三区高清| 国产91精品免费| 国产福利一区二区三区在线视频| 日本成人中文字幕| 天堂资源在线中文精品| 日韩福利视频导航| 捆绑调教一区二区三区| 国产一区二区三区四| 国产精品综合二区| 成人免费毛片高清视频| 成人精品视频一区二区三区尤物| 丰满岳乱妇一区二区三区| 成人精品国产福利| eeuss鲁片一区二区三区在线观看 eeuss鲁片一区二区三区在线看 | 亚洲日本va午夜在线影院| 国产欧美日韩激情| 国产精品家庭影院| 一区二区三区免费| 亚洲va欧美va人人爽| 日韩黄色免费电影| 亚洲第一狼人社区| 日韩和欧美一区二区| 国产精品一区二区果冻传媒| 婷婷丁香久久五月婷婷| 奇米精品一区二区三区在线观看 | 亚洲国产精品一区二区www| 国产中文字幕一区| 欧美日韩精品一区二区三区| 欧美激情一区二区| 全国精品久久少妇| 色噜噜狠狠色综合中国| 久久精品日韩一区二区三区| 亚洲韩国一区二区三区| 成人爽a毛片一区二区免费| 欧美一区二区三区日韩视频|