jaxp/src/java.xml/share/classes/org/w3c/dom/Document.java
changeset 45261 8a151bf73222
parent 25868 686eef1e7a79
child 45855 46c3f654e80f
equal deleted inserted replaced
45151:13796d1d9f0a 45261:8a151bf73222
   351      * @param namespaceURI The namespace URI of the element to create.
   351      * @param namespaceURI The namespace URI of the element to create.
   352      * @param qualifiedName The qualified name of the element type to
   352      * @param qualifiedName The qualified name of the element type to
   353      *   instantiate.
   353      *   instantiate.
   354      * @return A new <code>Element</code> object with the following
   354      * @return A new <code>Element</code> object with the following
   355      *   attributes:
   355      *   attributes:
   356      * <table border='1' cellpadding='3'>
   356      * <table class="striped">
       
   357      * <caption>Attributes of the {@code Element} object</caption>
       
   358      * <thead>
   357      * <tr>
   359      * <tr>
   358      * <th>Attribute</th>
   360      * <th>Attribute</th>
   359      * <th>Value</th>
   361      * <th>Value</th>
   360      * </tr>
   362      * </tr>
   361      * <tr>
   363      * </thead>
   362      * <td valign='top' rowspan='1' colspan='1'><code>Node.nodeName</code></td>
   364      * <tbody>
   363      * <td valign='top' rowspan='1' colspan='1'>
   365      * <tr>
       
   366      * <td><code>Node.nodeName</code></td>
       
   367      * <td>
   364      *   <code>qualifiedName</code></td>
   368      *   <code>qualifiedName</code></td>
   365      * </tr>
   369      * </tr>
   366      * <tr>
   370      * <tr>
   367      * <td valign='top' rowspan='1' colspan='1'><code>Node.namespaceURI</code></td>
   371      * <td><code>Node.namespaceURI</code></td>
   368      * <td valign='top' rowspan='1' colspan='1'>
   372      * <td>
   369      *   <code>namespaceURI</code></td>
   373      *   <code>namespaceURI</code></td>
   370      * </tr>
   374      * </tr>
   371      * <tr>
   375      * <tr>
   372      * <td valign='top' rowspan='1' colspan='1'><code>Node.prefix</code></td>
   376      * <td><code>Node.prefix</code></td>
   373      * <td valign='top' rowspan='1' colspan='1'>prefix, extracted
   377      * <td>prefix, extracted
   374      *   from <code>qualifiedName</code>, or <code>null</code> if there is
   378      *   from <code>qualifiedName</code>, or <code>null</code> if there is
   375      *   no prefix</td>
   379      *   no prefix</td>
   376      * </tr>
   380      * </tr>
   377      * <tr>
   381      * <tr>
   378      * <td valign='top' rowspan='1' colspan='1'><code>Node.localName</code></td>
   382      * <td><code>Node.localName</code></td>
   379      * <td valign='top' rowspan='1' colspan='1'>local name, extracted from
   383      * <td>local name, extracted from
   380      *   <code>qualifiedName</code></td>
   384      *   <code>qualifiedName</code></td>
   381      * </tr>
   385      * </tr>
   382      * <tr>
   386      * <tr>
   383      * <td valign='top' rowspan='1' colspan='1'><code>Element.tagName</code></td>
   387      * <td><code>Element.tagName</code></td>
   384      * <td valign='top' rowspan='1' colspan='1'>
   388      * <td>
   385      *   <code>qualifiedName</code></td>
   389      *   <code>qualifiedName</code></td>
   386      * </tr>
   390      * </tr>
       
   391      * </tbody>
   387      * </table>
   392      * </table>
   388      * @exception DOMException
   393      * @exception DOMException
   389      *   INVALID_CHARACTER_ERR: Raised if the specified
   394      *   INVALID_CHARACTER_ERR: Raised if the specified
   390      *   <code>qualifiedName</code> is not an XML name according to the XML
   395      *   <code>qualifiedName</code> is not an XML name according to the XML
   391      *   version in use specified in the <code>Document.xmlVersion</code>
   396      *   version in use specified in the <code>Document.xmlVersion</code>
   415      * no namespace.
   420      * no namespace.
   416      * @param namespaceURI The namespace URI of the attribute to create.
   421      * @param namespaceURI The namespace URI of the attribute to create.
   417      * @param qualifiedName The qualified name of the attribute to
   422      * @param qualifiedName The qualified name of the attribute to
   418      *   instantiate.
   423      *   instantiate.
   419      * @return A new <code>Attr</code> object with the following attributes:
   424      * @return A new <code>Attr</code> object with the following attributes:
   420      * <table border='1' cellpadding='3'>
   425      * <table class="striped">
       
   426      * <caption>Attributes of the {@code Attr} object </caption>
       
   427      * <thead>
   421      * <tr>
   428      * <tr>
   422      * <th>
   429      * <th>
   423      *   Attribute</th>
   430      *   Attribute</th>
   424      * <th>Value</th>
   431      * <th>Value</th>
   425      * </tr>
   432      * </tr>
   426      * <tr>
   433      * </thead>
   427      * <td valign='top' rowspan='1' colspan='1'><code>Node.nodeName</code></td>
   434      * <tbody>
   428      * <td valign='top' rowspan='1' colspan='1'>qualifiedName</td>
   435      * <tr>
   429      * </tr>
   436      * <td><code>Node.nodeName</code></td>
   430      * <tr>
   437      * <td>qualifiedName</td>
   431      * <td valign='top' rowspan='1' colspan='1'>
   438      * </tr>
       
   439      * <tr>
       
   440      * <td>
   432      *   <code>Node.namespaceURI</code></td>
   441      *   <code>Node.namespaceURI</code></td>
   433      * <td valign='top' rowspan='1' colspan='1'><code>namespaceURI</code></td>
   442      * <td><code>namespaceURI</code></td>
   434      * </tr>
   443      * </tr>
   435      * <tr>
   444      * <tr>
   436      * <td valign='top' rowspan='1' colspan='1'>
   445      * <td>
   437      *   <code>Node.prefix</code></td>
   446      *   <code>Node.prefix</code></td>
   438      * <td valign='top' rowspan='1' colspan='1'>prefix, extracted from
   447      * <td>prefix, extracted from
   439      *   <code>qualifiedName</code>, or <code>null</code> if there is no
   448      *   <code>qualifiedName</code>, or <code>null</code> if there is no
   440      *   prefix</td>
   449      *   prefix</td>
   441      * </tr>
   450      * </tr>
   442      * <tr>
   451      * <tr>
   443      * <td valign='top' rowspan='1' colspan='1'><code>Node.localName</code></td>
   452      * <td><code>Node.localName</code></td>
   444      * <td valign='top' rowspan='1' colspan='1'>local name, extracted from
   453      * <td>local name, extracted from
   445      *   <code>qualifiedName</code></td>
   454      *   <code>qualifiedName</code></td>
   446      * </tr>
   455      * </tr>
   447      * <tr>
   456      * <tr>
   448      * <td valign='top' rowspan='1' colspan='1'><code>Attr.name</code></td>
   457      * <td><code>Attr.name</code></td>
   449      * <td valign='top' rowspan='1' colspan='1'>
   458      * <td>
   450      *   <code>qualifiedName</code></td>
   459      *   <code>qualifiedName</code></td>
   451      * </tr>
   460      * </tr>
   452      * <tr>
   461      * <tr>
   453      * <td valign='top' rowspan='1' colspan='1'><code>Node.nodeValue</code></td>
   462      * <td><code>Node.nodeValue</code></td>
   454      * <td valign='top' rowspan='1' colspan='1'>the empty
   463      * <td>the empty
   455      *   string</td>
   464      *   string</td>
   456      * </tr>
   465      * </tr>
       
   466      * </tbody>
   457      * </table>
   467      * </table>
   458      * @exception DOMException
   468      * @exception DOMException
   459      *   INVALID_CHARACTER_ERR: Raised if the specified
   469      *   INVALID_CHARACTER_ERR: Raised if the specified
   460      *   <code>qualifiedName</code> is not an XML name according to the XML
   470      *   <code>qualifiedName</code> is not an XML name according to the XML
   461      *   version in use specified in the <code>Document.xmlVersion</code>
   471      *   version in use specified in the <code>Document.xmlVersion</code>