com.caucho.xmpp.pubsub
Class PubSubQuery

java.lang.Object
  extended by com.caucho.xmpp.pubsub.PubSubQuery
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
PubSubItemsQuery, PubSubPublishQuery, PubSubSubscribe, PubSubSubscribeQuery, PubSubUnsubscribeQuery

public abstract class PubSubQuery
extends java.lang.Object
implements java.io.Serializable

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 affiliation {
   attribute affiliation,
   attribute node
 }

 element affiliations {
   affiliation*
 }

 element configure {
   x{jabber:x:data}?
 }

 element create {
   attribute node?
 }

 element item {
   attribute id?,

   other?
 }

 element items {
   attribute max_items?,
   attribute node,
   attribute subid?,

   item*
 }

 element options {
   attribute address,
   attribute node?,
   attribute subid?,

   x{jabber:x:data}*
 }

 element publish {
   attribute node,

   item*
 }

 element retract {
   attribute node,
   attribute notify?,

   item+
 }

 element subscribe {
   attribute address,
   attribute node?
 }

 element subscribe-options {
   required?
 }

 element subscription {
   attribute address,
   attribute node?,
   attribute subid?,
   attribute subscription?,

   subscribe-options?
 }

 element unsubscribe {
   attribute address,
   attribute node?
   attribute subid?
 }
 

See Also:
Serialized Form

Constructor Summary
PubSubQuery()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PubSubQuery

public PubSubQuery()