Class Event.XMLEvent
Represents an event with an XML payload
Defined in: </home/ubuntu/streamscape/NeeveBuild16/stjsapi/src/main/webapp/js/event/XMLEvent.js>.
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
Event.XMLEvent(eventId)
Creates a new XML event
|
| Method Attributes | Method Name and Description |
|---|---|
| Object |
Returns the XML payload of the event to be used in an acknowlegement.
|
| String |
getXML()
Gets the XML payload of the event
|
| void |
setXML(xml)
Sets XML payload of the event
|
Class Detail
Event.XMLEvent(eventId)
Creates a new XML event
- Parameters:
- {String} eventId
- The id of the XML event to be created
Method Detail
{Object}
getAcknowledgementData()
Returns the XML payload of the event to be used in an acknowlegement.
- Returns:
- The XML payload for an acknowlegement event
{String}
getXML()
Gets the XML payload of the event
- Returns:
- The event XML payload
setXML(xml)
Sets XML payload of the event
- Parameters:
- {String} xml
- The xml-string to be set