Lines Matching refs:node
52 * node. Since evaluation of an XPath expression can result in various
129 // If the context node supports DOM Events and the type is one of the iterator
146 // probably not a node type
164 // probably not a node type
242 * The value of this single node result, which may be <code>null</code>.
256 // "The XPathResult of XPath expression {0} has an XPathResultType of {1} which cannot be converted to a single node.
269 Node node = result.nextNode();
271 // Wrap "namespace node" in an XPathNamespace
272 if (isNamespaceNode(node)) {
273 return new XPathNamespaceImpl(node);
275 return node;
310 * Iterates and returns the next node from the node set or
312 * @return Returns the next node.
336 Node node = m_iterator.nextNode();
337 if(null == node)
339 // Wrap "namespace node" in an XPathNamespace
340 if (isNamespaceNode(node)) {
341 return new XPathNamespaceImpl(node);
343 return node;
354 * @return The node at the <code>index</code>th position in the
374 Node node = m_list.item(index);
376 // Wrap "namespace node" in an XPathNamespace
377 if (isNamespaceNode(node)) {
378 return new XPathNamespaceImpl(node);
380 return node;
475 * Given a node, determine if it is a namespace node.
477 * @param node
479 * @return boolean Returns true if this is a namespace node; otherwise, returns false.
481 private boolean isNamespaceNode(Node node) {
483 if ((null != node) &&
484 (node.getNodeType() == Node.ATTRIBUTE_NODE) &&
485 (node.getNodeName().startsWith("xmlns:") || node.getNodeName().equals("xmlns"))) {