1adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project/*
2320c9890e8241fb0ad05de6fa5e6c3eb3aece159Jesse Wilson * Copyright (c) 2004 World Wide Web Consortium,
3320c9890e8241fb0ad05de6fa5e6c3eb3aece159Jesse Wilson *
4320c9890e8241fb0ad05de6fa5e6c3eb3aece159Jesse Wilson * (Massachusetts Institute of Technology, European Research Consortium for
5320c9890e8241fb0ad05de6fa5e6c3eb3aece159Jesse Wilson * Informatics and Mathematics, Keio University). All Rights Reserved. This
6320c9890e8241fb0ad05de6fa5e6c3eb3aece159Jesse Wilson * work is distributed under the W3C(r) Software License [1] in the hope that
7320c9890e8241fb0ad05de6fa5e6c3eb3aece159Jesse Wilson * it will be useful, but WITHOUT ANY WARRANTY; without even the implied
8320c9890e8241fb0ad05de6fa5e6c3eb3aece159Jesse Wilson * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
9320c9890e8241fb0ad05de6fa5e6c3eb3aece159Jesse Wilson *
10320c9890e8241fb0ad05de6fa5e6c3eb3aece159Jesse Wilson * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
11adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project */
12adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project
13adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Projectpackage org.w3c.dom;
14adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project
15adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project/**
16f33eae7e84eb6d3b0f4e86b59605bb3de73009f3Elliott Hughes * Objects implementing the <code>NamedNodeMap</code> interface are used to
17f33eae7e84eb6d3b0f4e86b59605bb3de73009f3Elliott Hughes * represent collections of nodes that can be accessed by name. Note that
18f33eae7e84eb6d3b0f4e86b59605bb3de73009f3Elliott Hughes * <code>NamedNodeMap</code> does not inherit from <code>NodeList</code>;
19f33eae7e84eb6d3b0f4e86b59605bb3de73009f3Elliott Hughes * <code>NamedNodeMaps</code> are not maintained in any particular order.
20f33eae7e84eb6d3b0f4e86b59605bb3de73009f3Elliott Hughes * Objects contained in an object implementing <code>NamedNodeMap</code> may
21f33eae7e84eb6d3b0f4e86b59605bb3de73009f3Elliott Hughes * also be accessed by an ordinal index, but this is simply to allow
22f33eae7e84eb6d3b0f4e86b59605bb3de73009f3Elliott Hughes * convenient enumeration of the contents of a <code>NamedNodeMap</code>,
23f33eae7e84eb6d3b0f4e86b59605bb3de73009f3Elliott Hughes * and does not imply that the DOM specifies an order to these Nodes.
24adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project * <p><code>NamedNodeMap</code> objects in the DOM are live.
25320c9890e8241fb0ad05de6fa5e6c3eb3aece159Jesse Wilson * <p>See also the <a href='http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407'>Document Object Model (DOM) Level 3 Core Specification</a>.
26adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project */
27adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Projectpublic interface NamedNodeMap {
28adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project    /**
29adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project     * Retrieves a node specified by name.
30adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project     * @param name The <code>nodeName</code> of a node to retrieve.
31f33eae7e84eb6d3b0f4e86b59605bb3de73009f3Elliott Hughes     * @return A <code>Node</code> (of any type) with the specified
32f33eae7e84eb6d3b0f4e86b59605bb3de73009f3Elliott Hughes     *   <code>nodeName</code>, or <code>null</code> if it does not identify
33adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project     *   any node in this map.
34adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project     */
35adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project    public Node getNamedItem(String name);
36adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project
37adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project    /**
38f33eae7e84eb6d3b0f4e86b59605bb3de73009f3Elliott Hughes     * Adds a node using its <code>nodeName</code> attribute. If a node with
39f33eae7e84eb6d3b0f4e86b59605bb3de73009f3Elliott Hughes     * that name is already present in this map, it is replaced by the new
40320c9890e8241fb0ad05de6fa5e6c3eb3aece159Jesse Wilson     * one. Replacing a node by itself has no effect.
41f33eae7e84eb6d3b0f4e86b59605bb3de73009f3Elliott Hughes     * <br>As the <code>nodeName</code> attribute is used to derive the name
42f33eae7e84eb6d3b0f4e86b59605bb3de73009f3Elliott Hughes     * which the node must be stored under, multiple nodes of certain types
43f33eae7e84eb6d3b0f4e86b59605bb3de73009f3Elliott Hughes     * (those that have a "special" string value) cannot be stored as the
44f33eae7e84eb6d3b0f4e86b59605bb3de73009f3Elliott Hughes     * names would clash. This is seen as preferable to allowing nodes to be
45adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project     * aliased.
46f33eae7e84eb6d3b0f4e86b59605bb3de73009f3Elliott Hughes     * @param arg A node to store in this map. The node will later be
47adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project     *   accessible using the value of its <code>nodeName</code> attribute.
48f33eae7e84eb6d3b0f4e86b59605bb3de73009f3Elliott Hughes     * @return If the new <code>Node</code> replaces an existing node the
49f33eae7e84eb6d3b0f4e86b59605bb3de73009f3Elliott Hughes     *   replaced <code>Node</code> is returned, otherwise <code>null</code>
50adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project     *   is returned.
51adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project     * @exception DOMException
52f33eae7e84eb6d3b0f4e86b59605bb3de73009f3Elliott Hughes     *   WRONG_DOCUMENT_ERR: Raised if <code>arg</code> was created from a
53adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project     *   different document than the one that created this map.
54adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project     *   <br>NO_MODIFICATION_ALLOWED_ERR: Raised if this map is readonly.
55f33eae7e84eb6d3b0f4e86b59605bb3de73009f3Elliott Hughes     *   <br>INUSE_ATTRIBUTE_ERR: Raised if <code>arg</code> is an
56f33eae7e84eb6d3b0f4e86b59605bb3de73009f3Elliott Hughes     *   <code>Attr</code> that is already an attribute of another
57f33eae7e84eb6d3b0f4e86b59605bb3de73009f3Elliott Hughes     *   <code>Element</code> object. The DOM user must explicitly clone
58adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project     *   <code>Attr</code> nodes to re-use them in other elements.
59f33eae7e84eb6d3b0f4e86b59605bb3de73009f3Elliott Hughes     *   <br>HIERARCHY_REQUEST_ERR: Raised if an attempt is made to add a node
60f33eae7e84eb6d3b0f4e86b59605bb3de73009f3Elliott Hughes     *   doesn't belong in this NamedNodeMap. Examples would include trying
61f33eae7e84eb6d3b0f4e86b59605bb3de73009f3Elliott Hughes     *   to insert something other than an Attr node into an Element's map
62f33eae7e84eb6d3b0f4e86b59605bb3de73009f3Elliott Hughes     *   of attributes, or a non-Entity node into the DocumentType's map of
63320c9890e8241fb0ad05de6fa5e6c3eb3aece159Jesse Wilson     *   Entities.
64adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project     */
65adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project    public Node setNamedItem(Node arg)
66adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project                             throws DOMException;
67adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project
68adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project    /**
69f33eae7e84eb6d3b0f4e86b59605bb3de73009f3Elliott Hughes     * Removes a node specified by name. When this map contains the attributes
70f33eae7e84eb6d3b0f4e86b59605bb3de73009f3Elliott Hughes     * attached to an element, if the removed attribute is known to have a
71f33eae7e84eb6d3b0f4e86b59605bb3de73009f3Elliott Hughes     * default value, an attribute immediately appears containing the
72f33eae7e84eb6d3b0f4e86b59605bb3de73009f3Elliott Hughes     * default value as well as the corresponding namespace URI, local name,
73adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project     * and prefix when applicable.
74adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project     * @param name The <code>nodeName</code> of the node to remove.
75f33eae7e84eb6d3b0f4e86b59605bb3de73009f3Elliott Hughes     * @return The node removed from this map if a node with such a name
76adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project     *   exists.
77adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project     * @exception DOMException
78f33eae7e84eb6d3b0f4e86b59605bb3de73009f3Elliott Hughes     *   NOT_FOUND_ERR: Raised if there is no node named <code>name</code> in
79adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project     *   this map.
80adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project     *   <br>NO_MODIFICATION_ALLOWED_ERR: Raised if this map is readonly.
81adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project     */
82adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project    public Node removeNamedItem(String name)
83adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project                                throws DOMException;
84adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project
85adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project    /**
86f33eae7e84eb6d3b0f4e86b59605bb3de73009f3Elliott Hughes     * Returns the <code>index</code>th item in the map. If <code>index</code>
87f33eae7e84eb6d3b0f4e86b59605bb3de73009f3Elliott Hughes     * is greater than or equal to the number of nodes in this map, this
88adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project     * returns <code>null</code>.
89adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project     * @param index Index into this map.
90f33eae7e84eb6d3b0f4e86b59605bb3de73009f3Elliott Hughes     * @return The node at the <code>index</code>th position in the map, or
91adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project     *   <code>null</code> if that is not a valid index.
92adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project     */
93adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project    public Node item(int index);
94adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project
95adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project    /**
96f33eae7e84eb6d3b0f4e86b59605bb3de73009f3Elliott Hughes     * The number of nodes in this map. The range of valid child node indices
97adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project     * is <code>0</code> to <code>length-1</code> inclusive.
98adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project     */
99adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project    public int getLength();
100adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project
101adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project    /**
102320c9890e8241fb0ad05de6fa5e6c3eb3aece159Jesse Wilson     * Retrieves a node specified by local name and namespace URI.
103320c9890e8241fb0ad05de6fa5e6c3eb3aece159Jesse Wilson     * <br>Per [<a href='http://www.w3.org/TR/1999/REC-xml-names-19990114/'>XML Namespaces</a>]
104f33eae7e84eb6d3b0f4e86b59605bb3de73009f3Elliott Hughes     * , applications must use the value null as the namespaceURI parameter
105320c9890e8241fb0ad05de6fa5e6c3eb3aece159Jesse Wilson     * for methods if they wish to have no namespace.
106adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project     * @param namespaceURI The namespace URI of the node to retrieve.
107adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project     * @param localName The local name of the node to retrieve.
108f33eae7e84eb6d3b0f4e86b59605bb3de73009f3Elliott Hughes     * @return A <code>Node</code> (of any type) with the specified local
109f33eae7e84eb6d3b0f4e86b59605bb3de73009f3Elliott Hughes     *   name and namespace URI, or <code>null</code> if they do not
110adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project     *   identify any node in this map.
111320c9890e8241fb0ad05de6fa5e6c3eb3aece159Jesse Wilson     * @exception DOMException
112f33eae7e84eb6d3b0f4e86b59605bb3de73009f3Elliott Hughes     *   NOT_SUPPORTED_ERR: May be raised if the implementation does not
113f33eae7e84eb6d3b0f4e86b59605bb3de73009f3Elliott Hughes     *   support the feature "XML" and the language exposed through the
114f33eae7e84eb6d3b0f4e86b59605bb3de73009f3Elliott Hughes     *   Document does not support XML Namespaces (such as [<a href='http://www.w3.org/TR/1999/REC-html401-19991224/'>HTML 4.01</a>]).
115adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project     * @since DOM Level 2
116adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project     */
117f33eae7e84eb6d3b0f4e86b59605bb3de73009f3Elliott Hughes    public Node getNamedItemNS(String namespaceURI,
118320c9890e8241fb0ad05de6fa5e6c3eb3aece159Jesse Wilson                               String localName)
119320c9890e8241fb0ad05de6fa5e6c3eb3aece159Jesse Wilson                               throws DOMException;
120adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project
121adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project    /**
122f33eae7e84eb6d3b0f4e86b59605bb3de73009f3Elliott Hughes     * Adds a node using its <code>namespaceURI</code> and
123f33eae7e84eb6d3b0f4e86b59605bb3de73009f3Elliott Hughes     * <code>localName</code>. If a node with that namespace URI and that
124f33eae7e84eb6d3b0f4e86b59605bb3de73009f3Elliott Hughes     * local name is already present in this map, it is replaced by the new
125320c9890e8241fb0ad05de6fa5e6c3eb3aece159Jesse Wilson     * one. Replacing a node by itself has no effect.
126320c9890e8241fb0ad05de6fa5e6c3eb3aece159Jesse Wilson     * <br>Per [<a href='http://www.w3.org/TR/1999/REC-xml-names-19990114/'>XML Namespaces</a>]
127f33eae7e84eb6d3b0f4e86b59605bb3de73009f3Elliott Hughes     * , applications must use the value null as the namespaceURI parameter
128320c9890e8241fb0ad05de6fa5e6c3eb3aece159Jesse Wilson     * for methods if they wish to have no namespace.
129f33eae7e84eb6d3b0f4e86b59605bb3de73009f3Elliott Hughes     * @param arg A node to store in this map. The node will later be
130f33eae7e84eb6d3b0f4e86b59605bb3de73009f3Elliott Hughes     *   accessible using the value of its <code>namespaceURI</code> and
131adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project     *   <code>localName</code> attributes.
132f33eae7e84eb6d3b0f4e86b59605bb3de73009f3Elliott Hughes     * @return If the new <code>Node</code> replaces an existing node the
133f33eae7e84eb6d3b0f4e86b59605bb3de73009f3Elliott Hughes     *   replaced <code>Node</code> is returned, otherwise <code>null</code>
134adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project     *   is returned.
135adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project     * @exception DOMException
136f33eae7e84eb6d3b0f4e86b59605bb3de73009f3Elliott Hughes     *   WRONG_DOCUMENT_ERR: Raised if <code>arg</code> was created from a
137adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project     *   different document than the one that created this map.
138adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project     *   <br>NO_MODIFICATION_ALLOWED_ERR: Raised if this map is readonly.
139f33eae7e84eb6d3b0f4e86b59605bb3de73009f3Elliott Hughes     *   <br>INUSE_ATTRIBUTE_ERR: Raised if <code>arg</code> is an
140f33eae7e84eb6d3b0f4e86b59605bb3de73009f3Elliott Hughes     *   <code>Attr</code> that is already an attribute of another
141f33eae7e84eb6d3b0f4e86b59605bb3de73009f3Elliott Hughes     *   <code>Element</code> object. The DOM user must explicitly clone
142adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project     *   <code>Attr</code> nodes to re-use them in other elements.
143f33eae7e84eb6d3b0f4e86b59605bb3de73009f3Elliott Hughes     *   <br>HIERARCHY_REQUEST_ERR: Raised if an attempt is made to add a node
144f33eae7e84eb6d3b0f4e86b59605bb3de73009f3Elliott Hughes     *   doesn't belong in this NamedNodeMap. Examples would include trying
145f33eae7e84eb6d3b0f4e86b59605bb3de73009f3Elliott Hughes     *   to insert something other than an Attr node into an Element's map
146f33eae7e84eb6d3b0f4e86b59605bb3de73009f3Elliott Hughes     *   of attributes, or a non-Entity node into the DocumentType's map of
147320c9890e8241fb0ad05de6fa5e6c3eb3aece159Jesse Wilson     *   Entities.
148f33eae7e84eb6d3b0f4e86b59605bb3de73009f3Elliott Hughes     *   <br>NOT_SUPPORTED_ERR: May be raised if the implementation does not
149f33eae7e84eb6d3b0f4e86b59605bb3de73009f3Elliott Hughes     *   support the feature "XML" and the language exposed through the
150f33eae7e84eb6d3b0f4e86b59605bb3de73009f3Elliott Hughes     *   Document does not support XML Namespaces (such as [<a href='http://www.w3.org/TR/1999/REC-html401-19991224/'>HTML 4.01</a>]).
151adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project     * @since DOM Level 2
152adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project     */
153adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project    public Node setNamedItemNS(Node arg)
154adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project                               throws DOMException;
155adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project
156adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project    /**
157f33eae7e84eb6d3b0f4e86b59605bb3de73009f3Elliott Hughes     * Removes a node specified by local name and namespace URI. A removed
158f33eae7e84eb6d3b0f4e86b59605bb3de73009f3Elliott Hughes     * attribute may be known to have a default value when this map contains
159f33eae7e84eb6d3b0f4e86b59605bb3de73009f3Elliott Hughes     * the attributes attached to an element, as returned by the attributes
160f33eae7e84eb6d3b0f4e86b59605bb3de73009f3Elliott Hughes     * attribute of the <code>Node</code> interface. If so, an attribute
161f33eae7e84eb6d3b0f4e86b59605bb3de73009f3Elliott Hughes     * immediately appears containing the default value as well as the
162adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project     * corresponding namespace URI, local name, and prefix when applicable.
163320c9890e8241fb0ad05de6fa5e6c3eb3aece159Jesse Wilson     * <br>Per [<a href='http://www.w3.org/TR/1999/REC-xml-names-19990114/'>XML Namespaces</a>]
164f33eae7e84eb6d3b0f4e86b59605bb3de73009f3Elliott Hughes     * , applications must use the value null as the namespaceURI parameter
165320c9890e8241fb0ad05de6fa5e6c3eb3aece159Jesse Wilson     * for methods if they wish to have no namespace.
166adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project     * @param namespaceURI The namespace URI of the node to remove.
167adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project     * @param localName The local name of the node to remove.
168f33eae7e84eb6d3b0f4e86b59605bb3de73009f3Elliott Hughes     * @return The node removed from this map if a node with such a local
169adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project     *   name and namespace URI exists.
170adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project     * @exception DOMException
171f33eae7e84eb6d3b0f4e86b59605bb3de73009f3Elliott Hughes     *   NOT_FOUND_ERR: Raised if there is no node with the specified
172adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project     *   <code>namespaceURI</code> and <code>localName</code> in this map.
173adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project     *   <br>NO_MODIFICATION_ALLOWED_ERR: Raised if this map is readonly.
174f33eae7e84eb6d3b0f4e86b59605bb3de73009f3Elliott Hughes     *   <br>NOT_SUPPORTED_ERR: May be raised if the implementation does not
175f33eae7e84eb6d3b0f4e86b59605bb3de73009f3Elliott Hughes     *   support the feature "XML" and the language exposed through the
176f33eae7e84eb6d3b0f4e86b59605bb3de73009f3Elliott Hughes     *   Document does not support XML Namespaces (such as [<a href='http://www.w3.org/TR/1999/REC-html401-19991224/'>HTML 4.01</a>]).
177adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project     * @since DOM Level 2
178adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project     */
179f33eae7e84eb6d3b0f4e86b59605bb3de73009f3Elliott Hughes    public Node removeNamedItemNS(String namespaceURI,
180adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project                                  String localName)
181adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project                                  throws DOMException;
182adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project
183adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project}
184