Package com.sun.xml.messaging.saaj.soap
Class MessageFactoryImpl
java.lang.Object
javax.xml.soap.MessageFactory
com.sun.xml.messaging.saaj.soap.MessageFactoryImpl
- Direct Known Subclasses:
SOAPMessageFactory1_1Impl,SOAPMessageFactory1_2Impl,SOAPMessageFactoryDynamicImpl
public class MessageFactoryImpl
extends javax.xml.soap.MessageFactory
A factory for creating SOAP messages.
Converted to a placeholder for common functionality between SOAP
implementations.
- Author:
- Phil Goodwin (phil.goodwin@sun.com)
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected OutputStreamprotected static final Logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjavax.xml.soap.SOAPMessagejavax.xml.soap.SOAPMessagecreateMessage(boolean isFastInfoset, boolean acceptFastInfoset) javax.xml.soap.SOAPMessagecreateMessage(String protocol) javax.xml.soap.SOAPMessagecreateMessage(javax.xml.soap.MimeHeaders headers, InputStream in) javax.xml.soap.SOAPMessagecreateMessage(javax.xml.soap.MimeHeaders headers, XMLStreamReader reader) protected static final StringgetContentType(javax.xml.soap.MimeHeaders headers) listen(OutputStream newListener) voidsetLazyAttachmentOptimization(boolean flag) Methods inherited from class javax.xml.soap.MessageFactory
newInstance, newInstance
-
Field Details
-
log
-
listener
-
lazyAttachments
protected boolean lazyAttachments
-
-
Constructor Details
-
MessageFactoryImpl
public MessageFactoryImpl()
-
-
Method Details
-
listen
-
createMessage
public javax.xml.soap.SOAPMessage createMessage() throws javax.xml.soap.SOAPException- Specified by:
createMessagein classjavax.xml.soap.MessageFactory- Throws:
javax.xml.soap.SOAPException
-
createMessage
public javax.xml.soap.SOAPMessage createMessage(String protocol) throws javax.xml.soap.SOAPException - Throws:
javax.xml.soap.SOAPException
-
createMessage
public javax.xml.soap.SOAPMessage createMessage(boolean isFastInfoset, boolean acceptFastInfoset) throws javax.xml.soap.SOAPException - Throws:
javax.xml.soap.SOAPException
-
createMessage
public javax.xml.soap.SOAPMessage createMessage(javax.xml.soap.MimeHeaders headers, XMLStreamReader reader) throws javax.xml.soap.SOAPException, IOException - Throws:
javax.xml.soap.SOAPExceptionIOException
-
createMessage
public javax.xml.soap.SOAPMessage createMessage(javax.xml.soap.MimeHeaders headers, InputStream in) throws javax.xml.soap.SOAPException, IOException - Specified by:
createMessagein classjavax.xml.soap.MessageFactory- Throws:
javax.xml.soap.SOAPExceptionIOException
-
getContentType
-
setLazyAttachmentOptimization
public void setLazyAttachmentOptimization(boolean flag)
-