|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--javax.xml.soap.SOAPMessage
|
+--com.sun.xml.messaging.soap.MessageImpl
|
+--com.sun.xml.messaging.util.ProfileMessage
|
+--com.sun.xml.messaging.ebxml.EbXMLMessageImpl
The message implementation for ebxml messages. This class currently supports setters and getters for the mandatory parts of the ebxml message header.
| Constructor Summary | |
EbXMLMessageImpl()
Construct a new message. |
|
EbXMLMessageImpl(javax.xml.soap.MimeHeaders headers,
java.io.InputStream in)
Construct a message from an input stream. |
|
EbXMLMessageImpl(javax.xml.soap.SOAPMessage message)
|
|
| Method Summary | |
java.lang.String |
getAction()
Returns the action for the message. |
java.lang.String |
getConversationId()
Returns the conversation id for the message. |
java.lang.String |
getCPAId()
Returns the cpa id. |
javax.xml.messaging.Endpoint |
getFrom()
|
Manifest |
getManifest()
Returns the manifest for the message. |
java.lang.String |
getMessageHeaderVersion()
Returns the version of the ebxml header. |
java.lang.String |
getMessageId()
Returns the message id for the message. |
Party |
getReceiver()
Returns the receiver of this message. |
java.lang.String |
getRefToMessageId()
Returns the ref to message id for the message. |
Party |
getSender()
Returns the sender of this message. |
com.sun.xml.messaging.util.SerializableMessage |
getSerializableMessage()
|
Service |
getService()
Returns the service. |
javax.xml.messaging.Endpoint |
getTo()
|
void |
saveChanges()
|
void |
setAction(java.lang.String action)
Set the action field for the message. |
void |
setConversationId(java.lang.String conversationId)
Sets the conversation id for the message. |
void |
setCPAId(java.lang.String cpaId)
Sets the CPAId for the message. |
void |
setManifest(Manifest manifest)
Sets the manifest for the message in the SOAPBody. |
void |
setMessageHeaderVersion(java.lang.String version)
Sets the version of the message header. |
void |
setReceiver(Party receiver)
Set the receiver of the message. |
void |
setRefToMessageId(java.lang.String refToMessageId)
Sets the ref to message id. |
void |
setSender(Party sender)
Set the sender of the message. |
void |
setService(Service service)
Sets the service information as defined in the ebxml specification. |
| Methods inherited from class com.sun.xml.messaging.soap.MessageImpl |
addAttachmentPart, countAttachments, createAttachmentPart, getAttachments, getAttachments, getContentDescription, getMimeHeaders, getSOAPPart, removeAllAttachments, saveRequired, setContentDescription, writeTo |
| Methods inherited from class javax.xml.soap.SOAPMessage |
createAttachmentPart, createAttachmentPart |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public EbXMLMessageImpl()
throws javax.xml.soap.SOAPException
javax.xml.soap.SOAPException - if there is a problem in creating the
ebxml message object.
public EbXMLMessageImpl(javax.xml.soap.MimeHeaders headers,
java.io.InputStream in)
throws java.io.IOException,
javax.xml.soap.SOAPException
headers - the mime headers of the message.InputStream - the stream from which the message is to be
created.
public EbXMLMessageImpl(javax.xml.soap.SOAPMessage message)
throws java.io.IOException,
javax.xml.soap.SOAPException
| Method Detail |
public void saveChanges()
throws javax.xml.soap.SOAPException
saveChanges in class com.sun.xml.messaging.soap.MessageImpl
public void setMessageHeaderVersion(java.lang.String version)
throws javax.xml.soap.SOAPException
version - - The version of the header.javax.xml.soap.SOAPException - is thrown when the version is set to
anything other than "1.0"public java.lang.String getMessageHeaderVersion()
public Party getSender()
Partypublic void setSender(Party sender)
Party - the identification of the sender.Partypublic Party getReceiver()
Partypublic void setReceiver(Party receiver)
Party - the identification of the receiver.Partypublic javax.xml.messaging.Endpoint getFrom()
getFrom in class com.sun.xml.messaging.util.ProfileMessagepublic javax.xml.messaging.Endpoint getTo()
getTo in class com.sun.xml.messaging.util.ProfileMessagepublic void setService(Service service)
Service - the service information for the message.Servicepublic Service getService()
Servicepublic void setAction(java.lang.String action)
String - - The action field for the message.public java.lang.String getAction()
public void setManifest(Manifest manifest)
Manifest - - the manifest for the message.Manifestpublic Manifest getManifest()
Manifestpublic java.lang.String getMessageId()
public java.lang.String getRefToMessageId()
public void setRefToMessageId(java.lang.String refToMessageId)
String - the ref to message id.public void setCPAId(java.lang.String cpaId)
String - - the cpa id.public java.lang.String getCPAId()
public void setConversationId(java.lang.String conversationId)
String - - the conversation id.public java.lang.String getConversationId()
public com.sun.xml.messaging.util.SerializableMessage getSerializableMessage()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||