< prev index next >
src/java.xml/share/classes/org/w3c/dom/Document.java
Print this page
*** 351,391 ****
* @param namespaceURI The namespace URI of the element to create.
* @param qualifiedName The qualified name of the element type to
* instantiate.
* @return A new <code>Element</code> object with the following
* attributes:
! * <table border='1' cellpadding='3'>
* <tr>
* <th>Attribute</th>
* <th>Value</th>
* </tr>
* <tr>
! * <td valign='top' rowspan='1' colspan='1'><code>Node.nodeName</code></td>
! * <td valign='top' rowspan='1' colspan='1'>
* <code>qualifiedName</code></td>
* </tr>
* <tr>
! * <td valign='top' rowspan='1' colspan='1'><code>Node.namespaceURI</code></td>
! * <td valign='top' rowspan='1' colspan='1'>
* <code>namespaceURI</code></td>
* </tr>
* <tr>
! * <td valign='top' rowspan='1' colspan='1'><code>Node.prefix</code></td>
! * <td valign='top' rowspan='1' colspan='1'>prefix, extracted
* from <code>qualifiedName</code>, or <code>null</code> if there is
* no prefix</td>
* </tr>
* <tr>
! * <td valign='top' rowspan='1' colspan='1'><code>Node.localName</code></td>
! * <td valign='top' rowspan='1' colspan='1'>local name, extracted from
* <code>qualifiedName</code></td>
* </tr>
* <tr>
! * <td valign='top' rowspan='1' colspan='1'><code>Element.tagName</code></td>
! * <td valign='top' rowspan='1' colspan='1'>
* <code>qualifiedName</code></td>
* </tr>
* </table>
* @exception DOMException
* INVALID_CHARACTER_ERR: Raised if the specified
* <code>qualifiedName</code> is not an XML name according to the XML
* version in use specified in the <code>Document.xmlVersion</code>
--- 351,396 ----
* @param namespaceURI The namespace URI of the element to create.
* @param qualifiedName The qualified name of the element type to
* instantiate.
* @return A new <code>Element</code> object with the following
* attributes:
! * <table class="striped">
! * <caption>Attributes of the {@code Element} object</caption>
! * <thead>
* <tr>
* <th>Attribute</th>
* <th>Value</th>
* </tr>
+ * </thead>
+ * <tbody>
* <tr>
! * <td><code>Node.nodeName</code></td>
! * <td>
* <code>qualifiedName</code></td>
* </tr>
* <tr>
! * <td><code>Node.namespaceURI</code></td>
! * <td>
* <code>namespaceURI</code></td>
* </tr>
* <tr>
! * <td><code>Node.prefix</code></td>
! * <td>prefix, extracted
* from <code>qualifiedName</code>, or <code>null</code> if there is
* no prefix</td>
* </tr>
* <tr>
! * <td><code>Node.localName</code></td>
! * <td>local name, extracted from
* <code>qualifiedName</code></td>
* </tr>
* <tr>
! * <td><code>Element.tagName</code></td>
! * <td>
* <code>qualifiedName</code></td>
* </tr>
+ * </tbody>
* </table>
* @exception DOMException
* INVALID_CHARACTER_ERR: Raised if the specified
* <code>qualifiedName</code> is not an XML name according to the XML
* version in use specified in the <code>Document.xmlVersion</code>
*** 415,461 ****
* no namespace.
* @param namespaceURI The namespace URI of the attribute to create.
* @param qualifiedName The qualified name of the attribute to
* instantiate.
* @return A new <code>Attr</code> object with the following attributes:
! * <table border='1' cellpadding='3'>
* <tr>
* <th>
* Attribute</th>
* <th>Value</th>
* </tr>
* <tr>
! * <td valign='top' rowspan='1' colspan='1'><code>Node.nodeName</code></td>
! * <td valign='top' rowspan='1' colspan='1'>qualifiedName</td>
* </tr>
* <tr>
! * <td valign='top' rowspan='1' colspan='1'>
* <code>Node.namespaceURI</code></td>
! * <td valign='top' rowspan='1' colspan='1'><code>namespaceURI</code></td>
* </tr>
* <tr>
! * <td valign='top' rowspan='1' colspan='1'>
* <code>Node.prefix</code></td>
! * <td valign='top' rowspan='1' colspan='1'>prefix, extracted from
* <code>qualifiedName</code>, or <code>null</code> if there is no
* prefix</td>
* </tr>
* <tr>
! * <td valign='top' rowspan='1' colspan='1'><code>Node.localName</code></td>
! * <td valign='top' rowspan='1' colspan='1'>local name, extracted from
* <code>qualifiedName</code></td>
* </tr>
* <tr>
! * <td valign='top' rowspan='1' colspan='1'><code>Attr.name</code></td>
! * <td valign='top' rowspan='1' colspan='1'>
* <code>qualifiedName</code></td>
* </tr>
* <tr>
! * <td valign='top' rowspan='1' colspan='1'><code>Node.nodeValue</code></td>
! * <td valign='top' rowspan='1' colspan='1'>the empty
* string</td>
* </tr>
* </table>
* @exception DOMException
* INVALID_CHARACTER_ERR: Raised if the specified
* <code>qualifiedName</code> is not an XML name according to the XML
* version in use specified in the <code>Document.xmlVersion</code>
--- 420,471 ----
* no namespace.
* @param namespaceURI The namespace URI of the attribute to create.
* @param qualifiedName The qualified name of the attribute to
* instantiate.
* @return A new <code>Attr</code> object with the following attributes:
! * <table class="striped">
! * <caption>Attributes of the {@code Attr} object </caption>
! * <thead>
* <tr>
* <th>
* Attribute</th>
* <th>Value</th>
* </tr>
+ * </thead>
+ * <tbody>
* <tr>
! * <td><code>Node.nodeName</code></td>
! * <td>qualifiedName</td>
* </tr>
* <tr>
! * <td>
* <code>Node.namespaceURI</code></td>
! * <td><code>namespaceURI</code></td>
* </tr>
* <tr>
! * <td>
* <code>Node.prefix</code></td>
! * <td>prefix, extracted from
* <code>qualifiedName</code>, or <code>null</code> if there is no
* prefix</td>
* </tr>
* <tr>
! * <td><code>Node.localName</code></td>
! * <td>local name, extracted from
* <code>qualifiedName</code></td>
* </tr>
* <tr>
! * <td><code>Attr.name</code></td>
! * <td>
* <code>qualifiedName</code></td>
* </tr>
* <tr>
! * <td><code>Node.nodeValue</code></td>
! * <td>the empty
* string</td>
* </tr>
+ * </tbody>
* </table>
* @exception DOMException
* INVALID_CHARACTER_ERR: Raised if the specified
* <code>qualifiedName</code> is not an XML name according to the XML
* version in use specified in the <code>Document.xmlVersion</code>
< prev index next >