com.sun.xml.messaging.ebxml
Class EbXMLMessageFactoryImpl
java.lang.Object
|
+--javax.xml.soap.MessageFactory
|
+--com.sun.xml.messaging.ebxml.EbXMLMessageFactoryImpl
- All Implemented Interfaces:
- java.io.Serializable
- public class EbXMLMessageFactoryImpl
- extends javax.xml.soap.MessageFactory
- implements java.io.Serializable
A factory for creating EbXML messages. This class is instantiated by the
ProviderConnection when the profile being used is ebxml.
- See Also:
- Serialized Form
Method Summary |
javax.xml.soap.SOAPMessage |
createMessage()
Creates an instance of the EbXMLMessageImpl. |
javax.xml.soap.SOAPMessage |
createMessage(javax.xml.soap.MimeHeaders headers,
java.io.InputStream is)
Creates an ebxml message from the given mime headers and
InputStream. |
javax.xml.soap.SOAPMessage |
createMessage(javax.xml.soap.SOAPMessage msg)
|
Methods inherited from class javax.xml.soap.MessageFactory |
newInstance |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EbXMLMessageFactoryImpl
public EbXMLMessageFactoryImpl()
createMessage
public javax.xml.soap.SOAPMessage createMessage()
throws javax.xml.soap.SOAPException
- Creates an instance of the EbXMLMessageImpl.
- Overrides:
createMessage
in class javax.xml.soap.MessageFactory
- Returns:
- SOAPMessage an instance of EbXMLMessageImpl is returned.
- Throws:
javax.xml.soap.SOAPException
- is thrown when there is a problem in
creating the message for ebxml profile.
createMessage
public javax.xml.soap.SOAPMessage createMessage(javax.xml.soap.MimeHeaders headers,
java.io.InputStream is)
throws java.io.IOException,
javax.xml.soap.SOAPException
- Creates an ebxml message from the given mime headers and
InputStream.
- Overrides:
createMessage
in class javax.xml.soap.MessageFactory
- Parameters:
headers
- The mime headers for the message.InputStream
- the stream from which the message is to be
constructed.- Throws:
javax.xml.soap.SOAPException
- is thrown when there is a problem in
creating the message for ebxml profile.java.io.IOException
- is thrown when there is a problem in
the InputStream.
createMessage
public javax.xml.soap.SOAPMessage createMessage(javax.xml.soap.SOAPMessage msg)
throws java.io.IOException,
javax.xml.soap.SOAPException