|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
NotificationMessage represents the wsnt:NotificationMessageHolderType type defined by the WS-Notification 1.3 schema. It is used as part of the wsnt:Notify and wsnt:GetCurrentMessage operations.
| Method Summary | |
|---|---|
void |
addMessageContent(org.w3c.dom.Element content)
This method allows you to add message content in its XML form - the element will be added as the last child under the wsnt:Message part of the notification message. |
void |
addMessageContent(QName qname,
java.lang.Object content)
This method allows you to add message content that has not yet been serialized into XML. |
org.w3c.dom.Element |
getMessageContent(QName qname)
|
java.lang.Object |
getMessageContent(QName qname,
java.lang.Class type)
This is a convenience method that does the same task as getMessageContent(QName) but deserializes the message content into a POJO of the given type before returning it. |
java.util.Collection |
getMessageContentNames()
|
EndpointReference |
getProducerReference()
|
EndpointReference |
getSubscriptionReference()
|
QName |
getTopic()
|
java.lang.String |
getTopicDialect()
|
void |
setProducerReference(EndpointReference producer)
|
void |
setSubscriptionReference(EndpointReference subscription)
|
void |
setTopic(QName topicPath)
|
void |
setTopicDialect(java.lang.String dialect)
|
| Methods inherited from interface org.apache.muse.util.xml.XmlSerializable |
|---|
toXML, toXML |
| Method Detail |
public void addMessageContent(org.w3c.dom.Element content)
content -
public void addMessageContent(QName qname,
java.lang.Object content)
throws SoapFault
content - qname -
SoapFaultSerializerpublic org.w3c.dom.Element getMessageContent(QName qname)
qname -
public java.lang.Object getMessageContent(QName qname,
java.lang.Class type)
throws SoapFault
SoapFaultpublic java.util.Collection getMessageContentNames()
public EndpointReference getProducerReference()
public EndpointReference getSubscriptionReference()
public QName getTopic()
public java.lang.String getTopicDialect()
WstConstants.CONCRETE_TOPIC_URIpublic void setProducerReference(EndpointReference producer)
public void setSubscriptionReference(EndpointReference subscription)
public void setTopic(QName topicPath)
public void setTopicDialect(java.lang.String dialect)
throws TopicExpressionDialectUnknownFault
TopicExpressionDialectUnknownFault
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||