Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > media > main-testing > by-pkgid > 2c50825dd66d0497b96a67f7fab2ee84 > files > 8013

openoffice.org64-devel-doc-2.4.1.10-1mdv2008.1.x86_64.rpm

<html>
<head>
<title>Interface XNamedNodeMap</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="../../../../../idl.css">
</head>
<body>
<div id="adc-idlref">

<a name="_top_"> </a><table class="navimain" border="0" cellpadding="3">
<tr>
<td class="navimain"><a href="../../module-ix.html" class="navimain">Overview</a></td>
<td class="navimain"><a href="module-ix.html" class="navimain">Module</a></td>
<td class="navimain"><a href="XNamedNodeMap-xref.html" class="navimain">Use</a></td>
<td class="navimainnone">Devguide</td>
<td class="navimain"><a href="../../../../../index-files/index-1.html" class="navimain">Index</a></td>
</tr>
</table>
<table class="navisub" border="0" cellpadding="0">
<tr>
<td class="navisub"><a href="#MethodsSummary" class="navisub">Methods' Summary</a></td>
<td class="navisub"><a href="#MethodsDetails" class="navisub">Methods' Details</a></td>
<td class="navisub">Attributes' Summary</td>
<td class="navisub">Attributes' Details</td>
</tr>
</table>
<hr>
<table border="0" width="100%" cellpadding="5" cellspacing="3" class="title-table" style="margin-bottom:6pt;">
<tr>
<td><p class="namechain"><a href="../../../../../module-ix.html" class="namechain">::</a> <a href="../../../../module-ix.html" class="namechain">com</a> :: <a href="../../../module-ix.html" class="namechain">sun</a> :: <a href="../../module-ix.html" class="namechain">star</a> :: <a href="../module-ix.html" class="namechain">xml</a> :: <a href="module-ix.html" class="namechain">dom</a> :: </p>
</td>
</tr>
<tr>
<td class="title">interface XNamedNodeMap</td>
</tr>
<tr>
<td/></tr>
<tr>
<td/></tr>
</table>
<hr>
<a name="MethodsSummary"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle">
<tr>
<td class="subtitle" colspan="2">Methods' Summary</td>
</tr>
<tr>
<td class="imsum_left"><a href="#getLength">getLength</a></td>
<td class="imsum_right">The number of nodes in this map.
 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#getNamedItem">getNamedItem</a></td>
<td class="imsum_right">Retrieves a node specified by local name 
 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#getNamedItemNS">getNamedItemNS</a></td>
<td class="imsum_right">Retrieves a node specified by local name and namespace URI.
 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#item">item</a></td>
<td class="imsum_right">Returns the indexth item in the map.
 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#removeNamedItem">removeNamedItem</a></td>
<td class="imsum_right">Removes a node specified by name.
 Throws:
 DOMException - NOT_FOUND_ERR: Raised if there is no node named name in this map.
 NO_MODIFICATION_ALLOWED_ERR: Raised if this map is readonly.
 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#removeNamedItemNS">removeNamedItemNS</a></td>
<td class="imsum_right">Removes a node specified by local name and namespace URI.
 Throws:
 DOMException - NOT_FOUND_ERR: Raised if there is no node with the specified namespaceURI and localName in this map.
 NO_MODIFICATION_ALLOWED_ERR: Raised if this map is readonly.
 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#setNamedItem">setNamedItem</a></td>
<td class="imsum_right">Adds a node using its nodeName attribute.
 Throws:
 DOMException - WRONG_DOCUMENT_ERR: Raised if arg was created from a different document than the one that created this map.
 NO_MODIFICATION_ALLOWED_ERR: Raised if this map is readonly.
 INUSE_ATTRIBUTE_ERR: Raised if arg is an Attr that is already an attribute of another Element object. The DOM user must explicitly clone Attr nodes to re-use them in other elements.
 HIERARCHY_REQUEST_ERR: Raised if an attempt is made to add a node doesn't belong in this NamedNodeMap. Examples would include trying to insert something other than an Attr node into an Element's map of attributes, or a non-Entity node into the DocumentType's map of Entities.
 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#setNamedItemNS">setNamedItemNS</a></td>
<td class="imsum_right">Adds a node using its namespaceURI and localName.
 Throws:
 DOMException - WRONG_DOCUMENT_ERR: Raised if arg was created from a different document than the one that created this map.
 NO_MODIFICATION_ALLOWED_ERR: Raised if this map is readonly.
 INUSE_ATTRIBUTE_ERR: Raised if arg is an Attr that is already an attribute of another Element object. The DOM user must explicitly clone Attr nodes to re-use them in other elements.
 HIERARCHY_REQUEST_ERR: Raised if an attempt is made to add a node doesn't belong in this NamedNodeMap. Examples would include trying to insert something other than an Attr node into an Element's map of attributes, or a non-Entity node into the DocumentType's map of Entities.
 NOT_SUPPORTED_ERR: Always thrown if the current document does not support the "XML" feature, since namespaces were defined by XML.
 &nbsp;</td>
</tr>
</table>
<a name="MethodsDetails"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle">
<tr>
<td class="subtitle">Methods' Details</td>
</tr>
<tr>
<td class="imdetail"><a name="getLength" class="membertitle">getLength</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center">
<tr>
<td><table class="table-in-method" border="0">
<tr>
<td valign="top" colspan="3">long</td>
</tr>
<tr>
<td valign="top"><b>getLength</b>();</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd>The number of nodes in this map.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="getNamedItem" class="membertitle">getNamedItem</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center">
<tr>
<td><table class="table-in-method" border="0">
<tr>
<td valign="top" colspan="3"><a href="XNode.html">XNode</a></td>
</tr>
<tr>
<td valign="top"><b>getNamedItem</b>(</td>
<td valign="top">[in] string</td>
<td valign="bottom">&nbsp;name );</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd>Retrieves a node specified by local name 
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="getNamedItemNS" class="membertitle">getNamedItemNS</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center">
<tr>
<td><table class="table-in-method" border="0">
<tr>
<td valign="top" colspan="3"><a href="XNode.html">XNode</a></td>
</tr>
<tr>
<td valign="top"><b>getNamedItemNS</b>(</td>
<td valign="top">[in] string</td>
<td valign="bottom">&nbsp;namespaceURI,</td>
</tr>
<tr>
<td/><td valign="top">[in] string</td>
<td valign="bottom">&nbsp;localName );</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd>Retrieves a node specified by local name and namespace URI.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="item" class="membertitle">item</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center">
<tr>
<td><table class="table-in-method" border="0">
<tr>
<td valign="top" colspan="3"><a href="XNode.html">XNode</a></td>
</tr>
<tr>
<td valign="top"><b>item</b>(</td>
<td valign="top">[in] long</td>
<td valign="bottom">&nbsp;index );</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd>Returns the indexth item in the map.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="removeNamedItem" class="membertitle">removeNamedItem</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center">
<tr>
<td><table class="table-in-method" border="0">
<tr>
<td valign="top" colspan="3"><a href="XNode.html">XNode</a></td>
</tr>
<tr>
<td valign="top"><b>removeNamedItem</b>(</td>
<td valign="top">[in] string</td>
<td valign="bottom">&nbsp;name )</td>
</tr>
<tr>
<td valign="top" align="right">raises( </td>
<td valign="top" colspan="2"><a href="DOMException.html">DOMException</a> );</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd>Removes a node specified by name.
 Throws:
 DOMException - NOT_FOUND_ERR: Raised if there is no node named name in this map.
 NO_MODIFICATION_ALLOWED_ERR: Raised if this map is readonly.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="removeNamedItemNS" class="membertitle">removeNamedItemNS</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center">
<tr>
<td><table class="table-in-method" border="0">
<tr>
<td valign="top" colspan="3"><a href="XNode.html">XNode</a></td>
</tr>
<tr>
<td valign="top"><b>removeNamedItemNS</b>(</td>
<td valign="top">[in] string</td>
<td valign="bottom">&nbsp;namespaceURI,</td>
</tr>
<tr>
<td/><td valign="top">[in] string</td>
<td valign="bottom">&nbsp;localName )</td>
</tr>
<tr>
<td valign="top" align="right">raises( </td>
<td valign="top" colspan="2"><a href="DOMException.html">DOMException</a> );</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd>Removes a node specified by local name and namespace URI.
 Throws:
 DOMException - NOT_FOUND_ERR: Raised if there is no node with the specified namespaceURI and localName in this map.
 NO_MODIFICATION_ALLOWED_ERR: Raised if this map is readonly.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="setNamedItem" class="membertitle">setNamedItem</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center">
<tr>
<td><table class="table-in-method" border="0">
<tr>
<td valign="top" colspan="3"><a href="XNode.html">XNode</a></td>
</tr>
<tr>
<td valign="top"><b>setNamedItem</b>(</td>
<td valign="top">[in] <a href="XNode.html">XNode</a></td>
<td valign="bottom">&nbsp;arg )</td>
</tr>
<tr>
<td valign="top" align="right">raises( </td>
<td valign="top" colspan="2"><a href="DOMException.html">DOMException</a> );</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd>Adds a node using its nodeName attribute.
 Throws:
 DOMException - WRONG_DOCUMENT_ERR: Raised if arg was created from a different document than the one that created this map.
 NO_MODIFICATION_ALLOWED_ERR: Raised if this map is readonly.
 INUSE_ATTRIBUTE_ERR: Raised if arg is an Attr that is already an attribute of another Element object. The DOM user must explicitly clone Attr nodes to re-use them in other elements.
 HIERARCHY_REQUEST_ERR: Raised if an attempt is made to add a node doesn't belong in this NamedNodeMap. Examples would include trying to insert something other than an Attr node into an Element's map of attributes, or a non-Entity node into the DocumentType's map of Entities.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="setNamedItemNS" class="membertitle">setNamedItemNS</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center">
<tr>
<td><table class="table-in-method" border="0">
<tr>
<td valign="top" colspan="3"><a href="XNode.html">XNode</a></td>
</tr>
<tr>
<td valign="top"><b>setNamedItemNS</b>(</td>
<td valign="top">[in] <a href="XNode.html">XNode</a></td>
<td valign="bottom">&nbsp;arg )</td>
</tr>
<tr>
<td valign="top" align="right">raises( </td>
<td valign="top" colspan="2"><a href="DOMException.html">DOMException</a> );</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd>Adds a node using its namespaceURI and localName.
 Throws:
 DOMException - WRONG_DOCUMENT_ERR: Raised if arg was created from a different document than the one that created this map.
 NO_MODIFICATION_ALLOWED_ERR: Raised if this map is readonly.
 INUSE_ATTRIBUTE_ERR: Raised if arg is an Attr that is already an attribute of another Element object. The DOM user must explicitly clone Attr nodes to re-use them in other elements.
 HIERARCHY_REQUEST_ERR: Raised if an attempt is made to add a node doesn't belong in this NamedNodeMap. Examples would include trying to insert something other than an Attr node into an Element's map of attributes, or a non-Entity node into the DocumentType's map of Entities.
 NOT_SUPPORTED_ERR: Always thrown if the current document does not support the "XML" feature, since namespaces were defined by XML.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
</table>
<a href="#_top_">Top of Page</a><hr size="3"><p class="copyright" align="center">Copyright &copy; 2008 Sun Microsystems, Inc.</p>

</div> <!-- id="adc-idlref" -->
</body>

</html>