<class name="QDomNamedNodeMap" doc="/**
&lt;p&gt;The &lt;a href=&quot;QDomNamedNodeMap.html#QDomNamedNodeMap(com.trolltech.qt.xml.QDomNamedNodeMap)&quot;&gt;&lt;tt&gt;QDomNamedNodeMap&lt;/tt&gt;&lt;/a&gt; class contains a collection of nodes that can be accessed by name.&lt;/p&gt;
&lt;p&gt;Note that &lt;a href=&quot;QDomNamedNodeMap.html#QDomNamedNodeMap(com.trolltech.qt.xml.QDomNamedNodeMap)&quot;&gt;&lt;tt&gt;QDomNamedNodeMap&lt;/tt&gt;&lt;/a&gt; does not inherit from &lt;a href=&quot;QDomNodeList.html&quot;&gt;&lt;tt&gt;QDomNodeList&lt;/tt&gt;&lt;/a&gt;. QDomNamedNodeMaps do not provide any specific node ordering. Although nodes in a &lt;a href=&quot;QDomNamedNodeMap.html#QDomNamedNodeMap(com.trolltech.qt.xml.QDomNamedNodeMap)&quot;&gt;&lt;tt&gt;QDomNamedNodeMap&lt;/tt&gt;&lt;/a&gt; may be accessed by an ordinal index, this is simply to allow a convenient enumeration of the contents of a &lt;a href=&quot;QDomNamedNodeMap.html#QDomNamedNodeMap(com.trolltech.qt.xml.QDomNamedNodeMap)&quot;&gt;&lt;tt&gt;QDomNamedNodeMap&lt;/tt&gt;&lt;/a&gt;, and does not imply that the DOM specifies an ordering of the nodes.&lt;/p&gt;
&lt;p&gt;The &lt;a href=&quot;QDomNamedNodeMap.html#QDomNamedNodeMap(com.trolltech.qt.xml.QDomNamedNodeMap)&quot;&gt;&lt;tt&gt;QDomNamedNodeMap&lt;/tt&gt;&lt;/a&gt; is used in three places:&lt;/p&gt;
&lt;ol type=&quot;1&quot;&gt;
&lt;li&gt;QDomDocumentType::entities() returns a map of all entities described in the DTD.&lt;/li&gt;
&lt;li&gt;QDomDocumentType::notations() returns a map of all notations described in the DTD.&lt;/li&gt;
&lt;li&gt;QDomNode::attributes() returns a map of all attributes of an element.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Items in the map are identified by the name which QDomNode::name() returns. Nodes are retrieved using &lt;a href=&quot;QDomNamedNodeMap.html#namedItem(java.lang.String)&quot;&gt;&lt;tt&gt;namedItem&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QDomNamedNodeMap.html#namedItemNS(java.lang.String, java.lang.String)&quot;&gt;&lt;tt&gt;namedItemNS&lt;/tt&gt;&lt;/a&gt; or &lt;a href=&quot;QDomNamedNodeMap.html#item(int)&quot;&gt;&lt;tt&gt;item&lt;/tt&gt;&lt;/a&gt;. New nodes are inserted with &lt;a href=&quot;QDomNamedNodeMap.html#setNamedItem(com.trolltech.qt.xml.QDomNode)&quot;&gt;&lt;tt&gt;setNamedItem&lt;/tt&gt;&lt;/a&gt; or &lt;a href=&quot;QDomNamedNodeMap.html#setNamedItemNS(com.trolltech.qt.xml.QDomNode)&quot;&gt;&lt;tt&gt;setNamedItemNS&lt;/tt&gt;&lt;/a&gt; and removed with &lt;a href=&quot;QDomNamedNodeMap.html#removeNamedItem(java.lang.String)&quot;&gt;&lt;tt&gt;removeNamedItem&lt;/tt&gt;&lt;/a&gt; or &lt;a href=&quot;QDomNamedNodeMap.html#removeNamedItemNS(java.lang.String, java.lang.String)&quot;&gt;&lt;tt&gt;removeNamedItemNS&lt;/tt&gt;&lt;/a&gt;. Use &lt;a href=&quot;QDomNamedNodeMap.html#contains(java.lang.String)&quot;&gt;&lt;tt&gt;contains&lt;/tt&gt;&lt;/a&gt; to see if an item with the given name is in the named node map. The number of items is returned by &lt;a href=&quot;QDomNamedNodeMap.html#length()&quot;&gt;&lt;tt&gt;length&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Terminology: in this class we use &amp;quot;item&amp;quot; and &amp;quot;node&amp;quot; interchangeably.&lt;/p&gt;
 */">
    <method name="public QDomNamedNodeMap()" doc="/**
&lt;p&gt;Constructs an empty named node map.&lt;/p&gt;
 */"/>
    <method name="public QDomNamedNodeMap(com.trolltech.qt.xml.QDomNamedNodeMap arg__1)" doc="/**
&lt;p&gt;Constructs a copy of &lt;tt&gt;arg__1&lt;/tt&gt;.&lt;/p&gt;
 */"/>
    <method name="public final boolean contains(java.lang.String name)" doc="/**
&lt;p&gt;Returns true if the map contains a node called &lt;tt&gt;name&lt;/tt&gt;; otherwise returns false.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Note:&lt;/b&gt; This function does not take the presence of namespaces into account. Use &lt;a href=&quot;QDomNamedNodeMap.html#namedItemNS(java.lang.String, java.lang.String)&quot;&gt;&lt;tt&gt;namedItemNS&lt;/tt&gt;&lt;/a&gt; to test whether the map contains a node with a specific namespace URI and name.&lt;/p&gt;
 */"/>
    <method name="public final int count()" doc="/**
&lt;p&gt;This function is provided for Qt API consistency. It is equivalent to &lt;a href=&quot;QDomNamedNodeMap.html#length()&quot;&gt;&lt;tt&gt;length&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
 */"/>
    <method name="public final boolean isEmpty()" doc="/**
&lt;p&gt;Returns true if the map is empty; otherwise returns false. This function is provided for Qt API consistency.&lt;/p&gt;
 */"/>
    <method name="public final com.trolltech.qt.xml.QDomNode item(int index)" doc="/**
&lt;p&gt;Retrieves the node at position &lt;tt&gt;index&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;This can be used to iterate over the map. Note that the nodes in the map are ordered arbitrarily.&lt;/p&gt;

@see &lt;a href=&quot;QDomNamedNodeMap.html#length()&quot;&gt;&lt;tt&gt;length&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final int length()" doc="/**
&lt;p&gt;Returns the number of nodes in the map.&lt;/p&gt;

@see &lt;a href=&quot;QDomNamedNodeMap.html#item(int)&quot;&gt;&lt;tt&gt;item&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.xml.QDomNode namedItem(java.lang.String name)" doc="/**
&lt;p&gt;Returns the node called &lt;tt&gt;name&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;If the named node map does not contain such a node, a null node&lt;/tt&gt; is returned. A node's name is the name returned by QDomNode::nodeName().&lt;/p&gt;

@see &lt;a href=&quot;QDomNamedNodeMap.html#setNamedItem(com.trolltech.qt.xml.QDomNode)&quot;&gt;&lt;tt&gt;setNamedItem&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDomNamedNodeMap.html#namedItemNS(java.lang.String, java.lang.String)&quot;&gt;&lt;tt&gt;namedItemNS&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.xml.QDomNode namedItemNS(java.lang.String nsURI, java.lang.String localName)" doc="/**
&lt;p&gt;Returns the node associated with the local name &lt;tt&gt;localName&lt;/tt&gt; and the namespace URI &lt;tt&gt;nsURI&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;If the map does not contain such a node, a null node&lt;/tt&gt; is returned.&lt;/p&gt;

@see &lt;a href=&quot;QDomNamedNodeMap.html#setNamedItemNS(com.trolltech.qt.xml.QDomNode)&quot;&gt;&lt;tt&gt;setNamedItemNS&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDomNamedNodeMap.html#namedItem(java.lang.String)&quot;&gt;&lt;tt&gt;namedItem&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.xml.QDomNode removeNamedItem(java.lang.String name)" doc="/**
&lt;p&gt;Removes the node called &lt;tt&gt;name&lt;/tt&gt; from the map.&lt;/p&gt;
&lt;p&gt;The function returns the removed node or a null node&lt;/tt&gt; if the map did not contain a node called &lt;tt&gt;name&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QDomNamedNodeMap.html#setNamedItem(com.trolltech.qt.xml.QDomNode)&quot;&gt;&lt;tt&gt;setNamedItem&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDomNamedNodeMap.html#namedItem(java.lang.String)&quot;&gt;&lt;tt&gt;namedItem&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDomNamedNodeMap.html#removeNamedItemNS(java.lang.String, java.lang.String)&quot;&gt;&lt;tt&gt;removeNamedItemNS&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.xml.QDomNode removeNamedItemNS(java.lang.String nsURI, java.lang.String localName)" doc="/**
&lt;p&gt;Removes the node with the local name &lt;tt&gt;localName&lt;/tt&gt; and the namespace URI &lt;tt&gt;nsURI&lt;/tt&gt; from the map.&lt;/p&gt;
&lt;p&gt;The function returns the removed node or a null node&lt;/tt&gt; if the map did not contain a node with the local name &lt;tt&gt;localName&lt;/tt&gt; and the namespace URI &lt;tt&gt;nsURI&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QDomNamedNodeMap.html#setNamedItemNS(com.trolltech.qt.xml.QDomNode)&quot;&gt;&lt;tt&gt;setNamedItemNS&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDomNamedNodeMap.html#namedItemNS(java.lang.String, java.lang.String)&quot;&gt;&lt;tt&gt;namedItemNS&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDomNamedNodeMap.html#removeNamedItem(java.lang.String)&quot;&gt;&lt;tt&gt;removeNamedItem&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.xml.QDomNode setNamedItem(com.trolltech.qt.xml.QDomNode newNode)" doc="/**
&lt;p&gt;Inserts the node &lt;tt&gt;newNode&lt;/tt&gt; into the named node map. The name used by the map is the node name of &lt;tt&gt;newNode&lt;/tt&gt; as returned by QDomNode::nodeName().&lt;/p&gt;
&lt;p&gt;If the new node replaces an existing node, i.e&amp;#x2e; the map contains a node with the same name, the replaced node is returned.&lt;/p&gt;

@see &lt;a href=&quot;QDomNamedNodeMap.html#namedItem(java.lang.String)&quot;&gt;&lt;tt&gt;namedItem&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDomNamedNodeMap.html#removeNamedItem(java.lang.String)&quot;&gt;&lt;tt&gt;removeNamedItem&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDomNamedNodeMap.html#setNamedItemNS(com.trolltech.qt.xml.QDomNode)&quot;&gt;&lt;tt&gt;setNamedItemNS&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.xml.QDomNode setNamedItemNS(com.trolltech.qt.xml.QDomNode newNode)" doc="/**
&lt;p&gt;Inserts the node &lt;tt&gt;newNode&lt;/tt&gt; in the map. If a node with the same namespace URI and the same local name already exists in the map, it is replaced by &lt;tt&gt;newNode&lt;/tt&gt;. If the new node replaces an existing node, the replaced node is returned.&lt;/p&gt;

@see &lt;a href=&quot;QDomNamedNodeMap.html#namedItemNS(java.lang.String, java.lang.String)&quot;&gt;&lt;tt&gt;namedItemNS&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDomNamedNodeMap.html#removeNamedItemNS(java.lang.String, java.lang.String)&quot;&gt;&lt;tt&gt;removeNamedItemNS&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDomNamedNodeMap.html#setNamedItem(com.trolltech.qt.xml.QDomNode)&quot;&gt;&lt;tt&gt;setNamedItem&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final int size()" doc="/**
&lt;p&gt;This function is provided for Qt API consistency. It is equivalent to &lt;a href=&quot;QDomNamedNodeMap.html#length()&quot;&gt;&lt;tt&gt;length&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
 */"/>
</class>
