Home | History | Annotate | Download | only in dom

Lines Matching refs:Node

29      * Retrieves a node specified by name.
30 * @param name The <code>nodeName</code> of a node to retrieve.
31 * @return A <code>Node</code> (of any type) with the specified
33 * any node in this map.
35 public Node getNamedItem(String name);
38 * Adds a node using its <code>nodeName</code> attribute. If a node with
40 * one. Replacing a node by itself has no effect.
42 * which the node must be stored under, multiple nodes of certain types
46 * @param arg A node to store in this map. The node will later be
48 * @return If the new <code>Node</code> replaces an existing node the
49 * replaced <code>Node</code> is returned, otherwise <code>null</code>
59 * <br>HIERARCHY_REQUEST_ERR: Raised if an attempt is made to add a node
61 * to insert something other than an Attr node into an Element's map
62 * of attributes, or a non-Entity node into the DocumentType's map of
65 public Node setNamedItem(Node arg)
69 * Removes a node specified by name. When this map contains the attributes
74 * @param name The <code>nodeName</code> of the node to remove.
75 * @return The node removed from this map if a node with such a name
78 * NOT_FOUND_ERR: Raised if there is no node named <code>name</code> in
82 public Node removeNamedItem(String name)
90 * @return The node at the <code>index</code>th position in the map, or
93 public Node item(int index);
96 * The number of nodes in this map. The range of valid child node indices
102 * Retrieves a node specified by local name and namespace URI.
106 * @param namespaceURI The namespace URI of the node to retrieve.
107 * @param localName The local name of the node to retrieve.
108 * @return A <code>Node</code> (of any type) with the specified local
110 * identify any node in this map.
117 public Node getNamedItemNS(String namespaceURI,
122 * Adds a node using its <code>namespaceURI</code> and
123 * <code>localName</code>. If a node with that namespace URI and that
125 * one. Replacing a node by itself has no effect.
129 * @param arg A node to store in this map. The node will later be
132 * @return If the new <code>Node</code> replaces an existing node the
133 * replaced <code>Node</code> is returned, otherwise <code>null</code>
143 * <br>HIERARCHY_REQUEST_ERR: Raised if an attempt is made to add a node
145 * to insert something other than an Attr node into an Element's map
146 * of attributes, or a non-Entity node into the DocumentType's map of
153 public Node setNamedItemNS(Node arg)
157 * Removes a node specified by local name and namespace URI. A removed
160 * attribute of the <code>Node</code> interface. If so, an attribute
166 * @param namespaceURI The namespace URI of the node to remove.
167 * @param localName The local name of the node to remove.
168 * @return The node removed from this map if a node with such a local
171 * NOT_FOUND_ERR: Raised if there is no node with the specified
179 public Node removeNamedItemNS(String namespaceURI,