Lines Matching refs:node
65 Node node = (Node)iter.next();
66 if (name.equals(node.getNodeName())) {
67 return node;
75 Node node = (Node)nodes.get(index);
76 return node;
199 * A class representing a node in a meta-data tree, which implements
214 * name" and "node name" are always considered to be synonymous.
233 * The name of the node as a <code>String</code>.
238 * The value of the node as a <code>String</code>. The Image I/O
239 * API typically does not make use of the node value.
244 * The <code>Object</code> value associated with this node.
249 * The parent node of this node, or <code>null</code> if this node
260 * The first (leftmost) child node of this node, or
261 * <code>null</code> if this node is a leaf node.
266 * The last (rightmost) child node of this node, or
267 * <code>null</code> if this node is a leaf node.
272 * The next (right) sibling node of this node, or
273 * <code>null</code> if this node is its parent's last child node.
278 * The previous (left) sibling node of this node, or
279 * <code>null</code> if this node is its parent's first child node.
295 * Constructs an <code>IIOMetadataNode</code> with a given node
298 * @param nodeName the name of the node, as a <code>String</code>.
305 * Check that the node is either <code>null</code> or an
308 private void checkNode(Node node) throws DOMException {
309 if (node == null) {
312 if (!(node instanceof IIOMetadataNode)) {
321 * Returns the node name associated with this node.
323 * @return the node name, as a <code>String</code>.
330 * Returns the value associated with this node.
332 * @return the node value, as a <code>String</code>.
339 * Sets the <code>String</code> value associated with this node.
346 * Returns the node type, which is always
356 * Returns the parent of this node. A <code>null</code> value
357 * indicates that the node is the root of its own tree. To add a
358 * node to an existing tree, use one of the
373 * Returns a <code>NodeList</code> that contains all children of this node.
384 * Returns the first child of this node, or <code>null</code> if
385 * the node has no children.
395 * Returns the last child of this node, or <code>null</code> if
396 * the node has no children.
406 * Returns the previous sibling of this node, or <code>null</code>
407 * if this node has no previous sibling.
417 * Returns the next sibling of this node, or <code>null</code> if
418 * the node has no next sibling.
429 * this node.
432 * this node.
449 * Inserts the node <code>newChild</code> before the existing
450 * child node <code>refChild</code>. If <code>refChild</code> is
457 * @return the node being inserted.
508 * Replaces the child node <code>oldChild</code> with
510 * <code>oldChild</code> node.
515 * @return the node replaced.
561 * Removes the child node indicated by <code>oldChild</code> from
566 * @return the node removed.
605 * Adds the node <code>newChild</code> to the end of the list of
606 * children of this node.
610 * @return the node added.
626 * Returns <code>true</code> if this node has child nodes.
628 * @return <code>true</code> if this node has children.
635 * Returns a duplicate of this node. The duplicate node has no
638 * <code>false</code>), the new node will not have any children or
639 * siblings. If a deep clone is being performed, the new node
643 * under the specified node; if <code>false</code>, clone only the
644 * node itself.
646 * @return the duplicate node.
715 * @return the node name, as a <code>String</code>.
727 * @return the node name, as a <code>String</code>
815 Node node = getAttributes().getNamedItem(name);
816 return (Attr)node;
935 * Returns the <code>Object</code> value associated with this node.
946 * Sets the value associated with this node.
1043 public boolean isSameNode(Node node) throws DOMException {
1053 public boolean isEqualNode(Node node) throws DOMException {