com.caucho.xmpp.pubsub
Class PublishMessage

java.lang.Object
  extended by com.caucho.xmpp.pubsub.PublishMessage
All Implemented Interfaces:
java.io.Serializable

public class PublishMessage
extends java.lang.Object
implements java.io.Serializable

Publish event http://jabber.org/protocol/pubsub#event

 element event {
   collection?
   | configuration?
   | delete?
   | items?
   | purge?
   | subscription?
 }

 element items {

See Also:
Serialized Form

Constructor Summary
PublishMessage(java.lang.String node)
           
PublishMessage(java.lang.String node, PubSubItem[] items)
           
 
Method Summary
 PubSubItem[] getItems()
           
 java.lang.String getNode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PublishMessage

public PublishMessage(java.lang.String node)

PublishMessage

public PublishMessage(java.lang.String node,
                      PubSubItem[] items)
Method Detail

getNode

public java.lang.String getNode()

getItems

public PubSubItem[] getItems()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object