org.apache.muse.ws.notification.impl
Class GetCurrentMessageResponse

java.lang.Object
  extended byorg.apache.muse.ws.notification.impl.GetCurrentMessageResponse
All Implemented Interfaces:
XmlSerializable

public class GetCurrentMessageResponse
extends java.lang.Object
implements XmlSerializable

GetCurrentMessageResponse is a serializer/deserializer for the WS-Notification GetCurrentMessage operation's response content.

Author:
Dan Jemiolo (danj)

Constructor Summary
GetCurrentMessageResponse(org.w3c.dom.Element xml)
           
GetCurrentMessageResponse(NotificationMessage message)
           
 
Method Summary
 NotificationMessage getMessage()
           
 org.w3c.dom.Element toXML()
          Converts this object into an XML representation, as defined by its related schema or specification.
 org.w3c.dom.Element toXML(org.w3c.dom.Document doc)
          Converts this object into an XML representation, as defined by its related schema or specification.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetCurrentMessageResponse

public GetCurrentMessageResponse(org.w3c.dom.Element xml)
                          throws SoapFault

GetCurrentMessageResponse

public GetCurrentMessageResponse(NotificationMessage message)
Method Detail

getMessage

public NotificationMessage getMessage()

toXML

public org.w3c.dom.Element toXML()
Description copied from interface: XmlSerializable
Converts this object into an XML representation, as defined by its related schema or specification. The format of the XML is dependent on the concrete type.

Specified by:
toXML in interface XmlSerializable
Returns:
An XML representation of this object.

toXML

public org.w3c.dom.Element toXML(org.w3c.dom.Document doc)
Description copied from interface: XmlSerializable
Converts this object into an XML representation, as defined by its related schema or specification. The format of the XML is dependent on the concrete type.

Specified by:
toXML in interface XmlSerializable
Parameters:
doc - The DOM Document that will be used to create all of the nodes in the resulting XML fragment.
Returns:
An XML representation of this object.