File: Poco.XML.NamedNodeMap.html

package info (click to toggle)
poco-doc 1.3.6-1.1
  • links: PTS
  • area: main
  • in suites: bullseye
  • size: 10,080 kB
  • sloc: makefile: 31
file content (89 lines) | stat: -rw-r--r-- 9,412 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Class Poco::XML::NamedNodeMap</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<meta name="author" content="Applied Informatics Software Engineering GmbH and Contributors"/>
<meta name="publisher" content="Applied Informatics Software Engineering GmbH and Contributors"/>
<meta name="copyright" content="Copyright (c) 2009, Applied Informatics Software Engineering GmbH and Contributors"/>
<meta name="language" content="en"/>
<meta name="date" content="2009-11-24"/>
<meta name="generator" content="PocoDoc"/>
<link rel="stylesheet" href="css/styles.css" type="text/css"/>
</head>
<body bgcolor="#ffffff" leftmargin="0" topmargin="0">
<div class="header">
<h1 class="namespace"><a href="Poco.XML.html" class="namespace">Poco::XML</a></h1>
<h1 class="symbol">class NamedNodeMap</h1>
</div>
<div class="body">
<p>
<b>Library:</b> XML<br />
<b>Package:</b> DOM<br />
<b>Header:</b> Poco/DOM/NamedNodeMap.h</p>
<h2>Description</h2>
<div class="description">
<p>Objects implementing the <a href="Poco.XML.NamedNodeMap.html" title="class Poco::XML::NamedNodeMap">NamedNodeMap</a> interface are used to represent collections of nodes that can be accessed by name. Note that <a href="Poco.XML.NamedNodeMap.html" title="class Poco::XML::NamedNodeMap">NamedNodeMap</a> does not inherit from <a href="Poco.XML.NodeList.html" title="class Poco::XML::NodeList">NodeList</a>; NamedNodeMaps are not maintained in any particular order. Objects contained in an object implementing <a href="Poco.XML.NamedNodeMap.html" title="class Poco::XML::NamedNodeMap">NamedNodeMap</a> may also be accessed by an ordinal index, but this is simply to allow convenient enumeration of the contents of a <a href="Poco.XML.NamedNodeMap.html" title="class Poco::XML::NamedNodeMap">NamedNodeMap</a>, and does not imply that the DOM specifies an order to these Nodes. </p>
<p><a href="Poco.XML.NamedNodeMap.html" title="class Poco::XML::NamedNodeMap">NamedNodeMap</a> objects in the DOM are live. </p>
<p>A <a href="Poco.XML.NamedNodeMap.html" title="class Poco::XML::NamedNodeMap">NamedNodeMap</a> returned from a method must be released with a call to  release() when no longer needed. </p>
</div>
<h2>Inheritance</h2>
<p><b>Direct Base Classes: </b><a href="Poco.XML.DOMObject.html" title="class Poco::XML::DOMObject">DOMObject</a></p>
<p><b>All Base Classes: </b><a href="Poco.XML.DOMObject.html" title="class Poco::XML::DOMObject">DOMObject</a></p>
<p><b>Known Derived Classes: </b><a href="Poco.XML.AttrMap.html" title="class Poco::XML::AttrMap">AttrMap</a>, <a href="Poco.XML.DTDMap.html" title="class Poco::XML::DTDMap">DTDMap</a></p>
<h2>Member Summary</h2>
<p><b>Member Functions: </b><a href="Poco.XML.NamedNodeMap.html#18467" title="Poco::XML::NamedNodeMap::getNamedItem()">getNamedItem</a>, <a href="Poco.XML.NamedNodeMap.html#18476" title="Poco::XML::NamedNodeMap::getNamedItemNS()">getNamedItemNS</a>, <a href="Poco.XML.NamedNodeMap.html#18473" title="Poco::XML::NamedNodeMap::item()">item</a>, <a href="Poco.XML.NamedNodeMap.html#18475" title="Poco::XML::NamedNodeMap::length()">length</a>, <a href="Poco.XML.NamedNodeMap.html#18471" title="Poco::XML::NamedNodeMap::removeNamedItem()">removeNamedItem</a>, <a href="Poco.XML.NamedNodeMap.html#18481" title="Poco::XML::NamedNodeMap::removeNamedItemNS()">removeNamedItemNS</a>, <a href="Poco.XML.NamedNodeMap.html#18469" title="Poco::XML::NamedNodeMap::setNamedItem()">setNamedItem</a>, <a href="Poco.XML.NamedNodeMap.html#18479" title="Poco::XML::NamedNodeMap::setNamedItemNS()">setNamedItemNS</a></p>
<p><b>Inherited Functions: </b><a href="Poco.XML.DOMObject.html#17883" title="Poco::XML::DOMObject::autoRelease()">autoRelease</a>, <a href="Poco.XML.DOMObject.html#17881" title="Poco::XML::DOMObject::duplicate()">duplicate</a>, <a href="Poco.XML.DOMObject.html#17882" title="Poco::XML::DOMObject::release()">release</a></p>
<h2>Destructor</h2>
<h3><a name="18484">~NamedNodeMap</a> <img src="images/protected.gif" alt="protected" title="protected" style="vertical-align:baseline;" border="0" />  <img src="images/virtual.gif" alt="virtual" title="virtual" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">virtual ~<a href="Poco.XML.NamedNodeMap.html" title="class Poco::XML::NamedNodeMap">NamedNodeMap</a>();</p>
<div class="description">
<p></p>
</div>
<h2>Member Functions</h2>
<h3><a name="18467">getNamedItem</a> <img src="images/virtual.gif" alt="virtual" title="virtual" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">virtual <a href="Poco.XML.Node.html" title="class Poco::XML::Node">Node</a> * getNamedItem(<br />&nbsp;&nbsp;&nbsp;&nbsp;const <a href="Poco.XML.html#19841" title="Poco::XML::XMLString">XMLString</a> &amp; name<br />) const = 0;</p>
<div class="description">
<p>Retrieves a node specified by name. </p>
</div>
<h3><a name="18476">getNamedItemNS</a> <img src="images/virtual.gif" alt="virtual" title="virtual" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">virtual <a href="Poco.XML.Node.html" title="class Poco::XML::Node">Node</a> * getNamedItemNS(<br />&nbsp;&nbsp;&nbsp;&nbsp;const <a href="Poco.XML.html#19841" title="Poco::XML::XMLString">XMLString</a> &amp; namespaceURI,<br />&nbsp;&nbsp;&nbsp;&nbsp;const <a href="Poco.XML.html#19841" title="Poco::XML::XMLString">XMLString</a> &amp; localName<br />) const = 0;</p>
<div class="description">
<p>Retrieves a node specified by name. </p>
</div>
<h3><a name="18473">item</a> <img src="images/virtual.gif" alt="virtual" title="virtual" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">virtual <a href="Poco.XML.Node.html" title="class Poco::XML::Node">Node</a> * item(<br />&nbsp;&nbsp;&nbsp;&nbsp;unsigned long index<br />) const = 0;</p>
<div class="description">
<p>Returns the index'th item in the map. If index is greater than or equal to the number of nodes in the map, this returns null. </p>
</div>
<h3><a name="18475">length</a> <img src="images/virtual.gif" alt="virtual" title="virtual" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">virtual unsigned long length() const = 0;</p>
<div class="description">
<p>Returns the number of nodes in the map. The range of valid child node indices is 0 to length - 1 inclusive. </p>
</div>
<h3><a name="18471">removeNamedItem</a> <img src="images/virtual.gif" alt="virtual" title="virtual" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">virtual <a href="Poco.XML.Node.html" title="class Poco::XML::Node">Node</a> * removeNamedItem(<br />&nbsp;&nbsp;&nbsp;&nbsp;const <a href="Poco.XML.html#19841" title="Poco::XML::XMLString">XMLString</a> &amp; name<br />) = 0;</p>
<div class="description">
<p>Removes a node specified by name. When this map contains the attributes attached to an element, if the removed attribute is known to have a default value, an attribute immediately appears containing the default value. </p>
</div>
<h3><a name="18481">removeNamedItemNS</a> <img src="images/virtual.gif" alt="virtual" title="virtual" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">virtual <a href="Poco.XML.Node.html" title="class Poco::XML::Node">Node</a> * removeNamedItemNS(<br />&nbsp;&nbsp;&nbsp;&nbsp;const <a href="Poco.XML.html#19841" title="Poco::XML::XMLString">XMLString</a> &amp; namespaceURI,<br />&nbsp;&nbsp;&nbsp;&nbsp;const <a href="Poco.XML.html#19841" title="Poco::XML::XMLString">XMLString</a> &amp; localName<br />) = 0;</p>
<div class="description">
<p>Removes a node specified by name. </p>
</div>
<h3><a name="18469">setNamedItem</a> <img src="images/virtual.gif" alt="virtual" title="virtual" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">virtual <a href="Poco.XML.Node.html" title="class Poco::XML::Node">Node</a> * setNamedItem(<br />&nbsp;&nbsp;&nbsp;&nbsp;<a href="Poco.XML.Node.html" title="class Poco::XML::Node">Node</a> * arg<br />) = 0;</p>
<div class="description">
<p>Adds a node using its nodeName attribute. If a node with that name is already present in this map, it is replaced by the new one. As the nodeName attribute is used to derive the name which the node must be stored under, multiple nodes of certain types (those that have a &quot;special&quot; string value) cannot be stored as the names would clash. This is seen as preferable to allowing nodes to be aliased. </p>
</div>
<h3><a name="18479">setNamedItemNS</a> <img src="images/virtual.gif" alt="virtual" title="virtual" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">virtual <a href="Poco.XML.Node.html" title="class Poco::XML::Node">Node</a> * setNamedItemNS(<br />&nbsp;&nbsp;&nbsp;&nbsp;<a href="Poco.XML.Node.html" title="class Poco::XML::Node">Node</a> * arg<br />) = 0;</p>
<div class="description">
<p>Adds a node using its nodeName attribute. If a node with that namespace <a href="Poco.URI.html" title="class Poco::URI">URI</a> and that local name is already  present in this map, it is replaced by the new one. </p>
</div>
<p class="footer">POCO C++ Libraries 1.3.6-all<br />
Copyright &copy; 2009, <a href="http://pocoproject.org/" target="_blank">Applied Informatics Software Engineering GmbH and Contributors</a></p>

</div>
</body>
</html>