Sophie

Sophie

distrib > * > cooker > x86_64 > by-pkgid > 5fb1c39f9f9130a3cc01e8b1ffa5c0f8 > files > 8388

libreoffice-devel-3.5.4-4.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">Attributes' Summary</td>
<td class="navisub"><a href="#MethodsDetails" class="navisub">Methods' Details</a></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 a node specified by index.
 &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 a node specified by index.
 </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; 2000, 2012 LibreOffice contributors and/or their affiliates. All rights reserved.</p><p class="copyright" align="center">LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.</p><p class="copyright" align="center">The Document Foundation acknowledges all community members, please find more info <a href="http://www.libreoffice.org/about-us/credits/" target="_blank">at our website</a>.<p>&nbsp;</p><p class="copyright" align="center"><a href="http://www.libreoffice.org/privacy" target="_blank">Privacy Policy</a> | <a href="http://www.libreoffice.org/imprint" target="_blank">Impressum (Legal Info)</a> | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (<a href="http://www.libreoffice.org/download/license/" target="_blank">LGPLv3</a>). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our <a href="http://wiki.documentfoundation.org/TradeMark_Policy" target="_blank">trademark policy</a>.</p>

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

</html>