|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NotificationMessage
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(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,
Object content)
This method allows you to add message content that has not yet been serialized into XML. |
Element |
getMessageContent(QName qname)
|
Object |
getMessageContent(QName qname,
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. |
Collection |
getMessageContentNames()
|
EndpointReference |
getProducerReference()
|
EndpointReference |
getSubscriptionReference()
|
QName |
getTopic()
|
String |
getTopicDialect()
|
void |
setProducerReference(EndpointReference producer)
|
void |
setSubscriptionReference(EndpointReference subscription)
|
void |
setTopic(QName topicPath)
|
void |
setTopicDialect(String dialect)
|
Methods inherited from interface org.apache.muse.util.xml.XmlSerializable |
---|
toXML, toXML |
Method Detail |
---|
void addMessageContent(Element content)
content
- void addMessageContent(QName qname, Object content) throws SoapFault
content
- qname
-
SoapFault
Serializer
Element getMessageContent(QName qname)
qname
-
Object getMessageContent(QName qname, Class type) throws SoapFault
SoapFault
Collection getMessageContentNames()
EndpointReference getProducerReference()
EndpointReference getSubscriptionReference()
QName getTopic()
String getTopicDialect()
WstConstants.CONCRETE_TOPIC_URI
void setProducerReference(EndpointReference producer)
void setSubscriptionReference(EndpointReference subscription)
void setTopic(QName topicPath)
void setTopicDialect(String dialect) throws TopicExpressionDialectUnknownFault
TopicExpressionDialectUnknownFault
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |