286N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 286N/A * This code is free software; you can redistribute it and/or modify it 286N/A * under the terms of the GNU General Public License version 2 only, as 286N/A * published by the Free Software Foundation. Oracle designates this 286N/A * particular file as subject to the "Classpath" exception as provided 286N/A * by Oracle in the LICENSE file that accompanied this code. 286N/A * This code is distributed in the hope that it will be useful, but WITHOUT 286N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 286N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 286N/A * version 2 for more details (a copy is included in the LICENSE file that 286N/A * accompanied this code). 286N/A * You should have received a copy of the GNU General Public License version 286N/A * 2 along with this work; if not, write to the Free Software Foundation, 286N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 286N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 286N/A * or visit www.oracle.com if you need additional information or have any 286N/A * This file is available under and governed by the GNU General Public 286N/A * License version 2 only, as published by the Free Software Foundation. 286N/A * However, the following notice accompanied the original version of this 286N/A * file and, per its terms, should not be removed: 286N/A * Copyright (c) 2002 World Wide Web Consortium, 286N/A * (Massachusetts Institute of Technology, Institut National de 286N/A * Recherche en Informatique et en Automatique, Keio University). All 286N/A * Rights Reserved. This program is distributed under the W3C's Software 286N/A * Intellectual Property License. This program is distributed in the 286N/A * hope that it will be useful, but WITHOUT ANY WARRANTY; without even 286N/A * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 286N/A * The <code>XPathNamespace</code> interface is returned by 286N/A * <code>XPathResult</code> interfaces to represent the XPath namespace node 286N/A * type that DOM lacks. There is no public constructor for this node type. 286N/A * Attempts to place it into a hierarchy or a NamedNodeMap result in a 286N/A * <code>DOMException</code> with the code <code>HIERARCHY_REQUEST_ERR</code> 286N/A * . This node is read only, so methods or setting of attributes that would 286N/A * mutate the node result in a DOMException with the code 286N/A * <code>NO_MODIFICATION_ALLOWED_ERR</code>. 286N/A * <p>The core specification describes attributes of the <code>Node</code> 286N/A * interface that are different for different node node types but does not 286N/A * describe <code>XPATH_NAMESPACE_NODE</code>, so here is a description of 286N/A * those attributes for this node type. All attributes of <code>Node</code> 286N/A * not described in this section have a <code>null</code> or 286N/A * <code>false</code> value. 286N/A * <p><code>ownerDocument</code> matches the <code>ownerDocument</code> of the 286N/A * <code>ownerElement</code> even if the element is later adopted. 286N/A * <p><code>prefix</code> is the prefix of the namespace represented by the 286N/A * <p><code>nodeName</code> is the same as <code>prefix</code>. 286N/A * <p><code>nodeType</code> is equal to <code>XPATH_NAMESPACE_NODE</code>. 286N/A * <p><code>namespaceURI</code> is the namespace URI of the namespace 286N/A * represented by the node. 286N/A * <p><code>adoptNode</code>, <code>cloneNode</code>, and 286N/A * <code>importNode</code> fail on this node type by raising a 286N/A * <code>DOMException</code> with the code <code>NOT_SUPPORTED_ERR</code>.In 286N/A * future versions of the XPath specification, the definition of a namespace 286N/A * node may be changed incomatibly, in which case incompatible changes to 286N/A * field values may be required to implement versions beyond XPath 1.0. 286N/A * The node is a <code>Namespace</code>. 286N/A * The <code>Element</code> on which the namespace was in scope when it 286N/A * was requested. This does not change on a returned namespace node even 286N/A * if the document changes such that the namespace goes out of scope on 286N/A * that element and this node is no longer found there by XPath.