src/org/w3c/dom/Element.java

Print this page
rev 602 : 8047723: @since tag cleanup in jaxp
Reviewed-by:

@@ -201,11 +201,11 @@
      *   if that attribute does not have a specified or default value.
      * @exception DOMException
      *   NOT_SUPPORTED_ERR: May be raised if the implementation does not
      *   support the feature <code>"XML"</code> and the language exposed
      *   through the Document does not support XML Namespaces (such as [<a href='http://www.w3.org/TR/1999/REC-html401-19991224/'>HTML 4.01</a>]).
-     * @since DOM Level 2
+     * @since 1.4, DOM Level 2
      */
     public String getAttributeNS(String namespaceURI,
                                  String localName)
                                  throws DOMException;
 

@@ -247,11 +247,11 @@
      *   http://www.w3.org/XML/1998/namespace</a>", if the <code>qualifiedName</code> or its prefix is "xmlns" and the
      *   <code>namespaceURI</code> is different from "<a href='http://www.w3.org/2000/xmlns/'>http://www.w3.org/2000/xmlns/</a>", or if the <code>namespaceURI</code> is "<a href='http://www.w3.org/2000/xmlns/'>http://www.w3.org/2000/xmlns/</a>" and neither the <code>qualifiedName</code> nor its prefix is "xmlns".
      *   <br>NOT_SUPPORTED_ERR: May be raised if the implementation does not
      *   support the feature <code>"XML"</code> and the language exposed
      *   through the Document does not support XML Namespaces (such as [<a href='http://www.w3.org/TR/1999/REC-html401-19991224/'>HTML 4.01</a>]).
-     * @since DOM Level 2
+     * @since 1.4, DOM Level 2
      */
     public void setAttributeNS(String namespaceURI,
                                String qualifiedName,
                                String value)
                                throws DOMException;

@@ -276,11 +276,11 @@
      * @exception DOMException
      *   NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly.
      *   <br>NOT_SUPPORTED_ERR: May be raised if the implementation does not
      *   support the feature <code>"XML"</code> and the language exposed
      *   through the Document does not support XML Namespaces (such as [<a href='http://www.w3.org/TR/1999/REC-html401-19991224/'>HTML 4.01</a>]).
-     * @since DOM Level 2
+     * @since 1.4, DOM Level 2
      */
     public void removeAttributeNS(String namespaceURI,
                                   String localName)
                                   throws DOMException;
 

@@ -297,11 +297,11 @@
      *   attribute.
      * @exception DOMException
      *   NOT_SUPPORTED_ERR: May be raised if the implementation does not
      *   support the feature <code>"XML"</code> and the language exposed
      *   through the Document does not support XML Namespaces (such as [<a href='http://www.w3.org/TR/1999/REC-html401-19991224/'>HTML 4.01</a>]).
-     * @since DOM Level 2
+     * @since 1.4, DOM Level 2
      */
     public Attr getAttributeNodeNS(String namespaceURI,
                                    String localName)
                                    throws DOMException;
 

@@ -327,11 +327,11 @@
      *   explicitly clone <code>Attr</code> nodes to re-use them in other
      *   elements.
      *   <br>NOT_SUPPORTED_ERR: May be raised if the implementation does not
      *   support the feature <code>"XML"</code> and the language exposed
      *   through the Document does not support XML Namespaces (such as [<a href='http://www.w3.org/TR/1999/REC-html401-19991224/'>HTML 4.01</a>]).
-     * @since DOM Level 2
+     * @since 1.4, DOM Level 2
      */
     public Attr setAttributeNodeNS(Attr newAttr)
                                    throws DOMException;
 
     /**

@@ -346,11 +346,11 @@
      *   <code>Elements</code>.
      * @exception DOMException
      *   NOT_SUPPORTED_ERR: May be raised if the implementation does not
      *   support the feature <code>"XML"</code> and the language exposed
      *   through the Document does not support XML Namespaces (such as [<a href='http://www.w3.org/TR/1999/REC-html401-19991224/'>HTML 4.01</a>]).
-     * @since DOM Level 2
+     * @since 1.4, DOM Level 2
      */
     public NodeList getElementsByTagNameNS(String namespaceURI,
                                            String localName)
                                            throws DOMException;
 

@@ -360,11 +360,11 @@
      * otherwise.
      * @param name The name of the attribute to look for.
      * @return <code>true</code> if an attribute with the given name is
      *   specified on this element or has a default value, <code>false</code>
      *    otherwise.
-     * @since DOM Level 2
+     * @since 1.4, DOM Level 2
      */
     public boolean hasAttribute(String name);
 
     /**
      * Returns <code>true</code> when an attribute with a given local name and

@@ -381,19 +381,19 @@
      *   element, <code>false</code> otherwise.
      * @exception DOMException
      *   NOT_SUPPORTED_ERR: May be raised if the implementation does not
      *   support the feature <code>"XML"</code> and the language exposed
      *   through the Document does not support XML Namespaces (such as [<a href='http://www.w3.org/TR/1999/REC-html401-19991224/'>HTML 4.01</a>]).
-     * @since DOM Level 2
+     * @since 1.4, DOM Level 2
      */
     public boolean hasAttributeNS(String namespaceURI,
                                   String localName)
                                   throws DOMException;
 
     /**
      *  The type information associated with this element.
-     * @since DOM Level 3
+     * @since 1.5, DOM Level 3
      */
     public TypeInfo getSchemaTypeInfo();
 
     /**
      *  If the parameter <code>isId</code> is <code>true</code>, this method

@@ -411,11 +411,11 @@
      * @param isId Whether the attribute is a of type ID.
      * @exception DOMException
      *   NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly.
      *   <br>NOT_FOUND_ERR: Raised if the specified node is not an attribute
      *   of this element.
-     * @since DOM Level 3
+     * @since 1.5, DOM Level 3
      */
     public void setIdAttribute(String name,
                                boolean isId)
                                throws DOMException;
 

@@ -434,11 +434,11 @@
      * @param isId Whether the attribute is a of type ID.
      * @exception DOMException
      *   NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly.
      *   <br>NOT_FOUND_ERR: Raised if the specified node is not an attribute
      *   of this element.
-     * @since DOM Level 3
+     * @since 1.5, DOM Level 3
      */
     public void setIdAttributeNS(String namespaceURI,
                                  String localName,
                                  boolean isId)
                                  throws DOMException;

@@ -457,11 +457,11 @@
      * @param isId Whether the attribute is a of type ID.
      * @exception DOMException
      *   NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly.
      *   <br>NOT_FOUND_ERR: Raised if the specified node is not an attribute
      *   of this element.
-     * @since DOM Level 3
+     * @since 1.5, DOM Level 3
      */
     public void setIdAttributeNode(Attr idAttr,
                                    boolean isId)
                                    throws DOMException;