com.caucho.xmpp.pubsub
Class PubSubPublishQuery

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

public class PubSubPublishQuery
extends PubSubQuery

pubsub query XEP-0060: http://www.xmpp.org/extensions/xep-0060.html

 namespace = http://jabber.org/protocol/pubsub

 element pubsub {
   (create, configure?)
   | (subscribe?, options?)
   | affiliations
   | items
   | publish
   | retract
   | subscription
   | subscriptions
   | unsubscribe
 }

 element item {
   attribute id?,

   other?
 }

 element publish {
   attribute node,

   item*
 }
 

See Also:
Serialized Form

Constructor Summary
PubSubPublishQuery(java.lang.String node)
           
PubSubPublishQuery(java.lang.String node, PubSubItem item)
           
 
Method Summary
 PubSubItem getItem()
           
 java.lang.String getNode()
           
 void setItem(PubSubItem item)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PubSubPublishQuery

public PubSubPublishQuery(java.lang.String node)

PubSubPublishQuery

public PubSubPublishQuery(java.lang.String node,
                          PubSubItem item)
Method Detail

getNode

public java.lang.String getNode()

setItem

public void setItem(PubSubItem item)

getItem

public PubSubItem getItem()

toString

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