src/share/jaxws_classes/javax/xml/soap/SOAPFactory.java
Print this page
rev 507 : 8047724: @since tag cleanup in jaxws
Reviewed-by:
@@ -41,10 +41,11 @@
*
* <code>SOAPFactory</code> also has methods to create
* <code>javax.xml.soap.Detail</code> objects as well as
* <code>java.xml.soap.Name</code> objects.
*
+ * @since 1.6
*/
public abstract class SOAPFactory {
/**
* A constant representing the property used to lookup the name of
@@ -75,11 +76,11 @@
* @return a new <code>SOAPElement</code> that is a copy of <code>domElement</code>.
*
* @exception SOAPException if there is an error in creating the
* <code>SOAPElement</code> object
*
- * @since SAAJ 1.3
+ * @since 1.6, SAAJ 1.3
*/
public SOAPElement createElement(Element domElement) throws SOAPException {
throw new UnsupportedOperationException("createElement(org.w3c.dom.Element) must be overridden by all subclasses of SOAPFactory.");
}
@@ -118,11 +119,11 @@
* created
*
* @exception SOAPException if there is an error in creating the
* <code>SOAPElement</code> object
* @see SOAPFactory#createElement(Name)
- * @since SAAJ 1.3
+ * @since 1.6, SAAJ 1.3
*/
public SOAPElement createElement(QName qname) throws SOAPException {
throw new UnsupportedOperationException("createElement(QName) must be overridden by all subclasses of SOAPFactory.");
}
@@ -186,19 +187,19 @@
* and <code>faultCode</code>
*@param reasonText the ReasonText/FaultString for the fault
*@param faultCode the FaultCode for the fault
*@return a <code>SOAPFault</code> object
*@throws SOAPException if there is a SOAP error
- *@since SAAJ 1.3
+ *@since 1.6, SAAJ 1.3
*/
public abstract SOAPFault createFault(String reasonText, QName faultCode) throws SOAPException;
/**
*Creates a new default <code>SOAPFault</code> object
*@return a <code>SOAPFault</code> object
*@throws SOAPException if there is a SOAP error
- *@since SAAJ 1.3
+ *@since 1.6, SAAJ 1.3
*/
public abstract SOAPFault createFault() throws SOAPException;
/**
* Creates a new <code>Name</code> object initialized with the
@@ -288,11 +289,11 @@
* <code>SOAP_1_2_PROTOCOL</code>.
*
* @exception SOAPException if there was an error creating the
* specified <code>SOAPFactory</code>
* @see SAAJMetaFactory
- * @since SAAJ 1.3
+ * @since 1.6, SAAJ 1.3
*/
public static SOAPFactory newInstance(String protocol)
throws SOAPException {
return SAAJMetaFactory.getInstance().newSOAPFactory(protocol);
}