src/share/jaxws_classes/javax/xml/soap/SOAPBody.java

Print this page
rev 507 : 8047724: @since tag cleanup in jaxws
Reviewed-by:

@@ -40,10 +40,11 @@
  * objects, which have the content for the SOAP body.
  * A <code>SOAPFault</code> object, which carries status and/or
  * error information, is an example of a <code>SOAPBodyElement</code> object.
  *
  * @see SOAPFault
+ * @since 1.6
  */
 public interface SOAPBody extends SOAPElement {
 
     /**
      * Creates a new <code>SOAPFault</code> object and adds it to

@@ -88,11 +89,11 @@
      *         the native language of the <code>faultString</code>
      * @return the new <code>SOAPFault</code> object
      * @exception SOAPException if there is a SOAP error
      * @see SOAPFault#setFaultCode
      * @see SOAPFault#setFaultString
-     * @since SAAJ 1.2
+     * @since 1.6, SAAJ 1.2
      */
     public SOAPFault addFault(Name faultCode, String faultString, Locale locale) throws SOAPException;
 
     /**
      * Creates a new <code>SOAPFault</code> object and adds it to this

@@ -125,11 +126,11 @@
      *                if there is a SOAP error
      * @see SOAPFault#setFaultCode
      * @see SOAPFault#setFaultString
      * @see SOAPBody#addFault(Name faultCode, String faultString, Locale locale)
      *
-     * @since SAAJ 1.3
+     * @since 1.6, SAAJ 1.3
      */
     public SOAPFault addFault(QName faultCode, String faultString, Locale locale)
         throws SOAPException;
 
     /**

@@ -162,11 +163,11 @@
      * @return the new <code>SOAPFault</code> object
      * @exception SOAPException
      *                if there is a SOAP error
      * @see SOAPFault#setFaultCode
      * @see SOAPFault#setFaultString
-     * @since SAAJ 1.2
+     * @since 1.6, SAAJ 1.2
      */
     public SOAPFault addFault(Name faultCode, String faultString)
         throws SOAPException;
 
     /**

@@ -200,11 +201,11 @@
      * @exception SOAPException
      *                if there is a SOAP error
      * @see SOAPFault#setFaultCode
      * @see SOAPFault#setFaultString
      * @see SOAPBody#addFault(Name faultCode, String faultString)
-     * @since SAAJ 1.3
+     * @since 1.6, SAAJ 1.3
      */
     public SOAPFault addFault(QName faultCode, String faultString)
         throws SOAPException;
 
     /**

@@ -250,11 +251,11 @@
      *            <code>SOAPBodyElement</code> object
      * @return the new <code>SOAPBodyElement</code> object
      * @exception SOAPException
      *                if a SOAP error occurs
      * @see SOAPBody#addBodyElement(Name)
-     * @since SAAJ 1.3
+     * @since 1.6, SAAJ 1.3
      */
     public SOAPBodyElement addBodyElement(QName qname) throws SOAPException;
 
     /**
      * Adds the root node of the DOM <code>{@link org.w3c.dom.Document}</code>

@@ -270,11 +271,11 @@
      *            added to this <code>SOAPBody</code>.
      * @return the <code>SOAPBodyElement</code> that represents the root node
      *         that was added.
      * @exception SOAPException
      *                if the <code>Document</code> cannot be added
-     * @since SAAJ 1.2
+     * @since 1.6, SAAJ 1.2
      */
     public SOAPBodyElement addDocument(org.w3c.dom.Document document)
         throws SOAPException;
 
     /**

@@ -288,10 +289,10 @@
      *
      * @exception SOAPException
      *                if there is not exactly one child <code>SOAPElement</code> of the <code>
      *              <code>SOAPBody</code>.
      *
-     * @since SAAJ 1.3
+     * @since 1.6, SAAJ 1.3
      */
     public org.w3c.dom.Document extractContentAsDocument()
         throws SOAPException;
 }