Module com.sun.xml.messaging.saaj
Class SOAPFactory1_1Impl
java.lang.Object
jakarta.xml.soap.SOAPFactory
com.sun.xml.messaging.saaj.soap.SOAPFactoryImpl
com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFactory1_1Impl
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreates a newDetail
object which serves as a container forDetailEntry
objects.protected SOAPDocumentImpl
Creates a new defaultSOAPFault
objectcreateFault
(String reasonText, QName faultCode) Creates a newSOAPFault
object initialized with the givenreasonText
andfaultCode
Methods inherited from class com.sun.xml.messaging.saaj.soap.SOAPFactoryImpl
createElement, createElement, createElement, createElement, createElement, createName, createName
Methods inherited from class jakarta.xml.soap.SOAPFactory
newInstance, newInstance
-
Constructor Details
-
SOAPFactory1_1Impl
public SOAPFactory1_1Impl()
-
-
Method Details
-
createDocument
- Specified by:
createDocument
in classSOAPFactoryImpl
-
createDetail
Description copied from class:SOAPFactory
Creates a newDetail
object which serves as a container forDetailEntry
objects.This factory method creates
Detail
objects for use in situations where it is not practical to use theSOAPFault
abstraction.- Overrides:
createDetail
in classSOAPFactoryImpl
- Returns:
- a
Detail
object - Throws:
SOAPException
- if there is a SOAP error
-
createFault
Description copied from class:SOAPFactory
Creates a newSOAPFault
object initialized with the givenreasonText
andfaultCode
- Overrides:
createFault
in classSOAPFactoryImpl
- Parameters:
reasonText
- the ReasonText/FaultString for the faultfaultCode
- the FaultCode for the fault- Returns:
- a
SOAPFault
object - Throws:
SOAPException
- if there is a SOAP error
-
createFault
Description copied from class:SOAPFactory
Creates a new defaultSOAPFault
object- Overrides:
createFault
in classSOAPFactoryImpl
- Returns:
- a
SOAPFault
object - Throws:
SOAPException
- if there is a SOAP error
-