com.caucho.xmpp.pubsub
Class PubSubSubscribeQuery

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

public class PubSubSubscribeQuery
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 subscribe {
   attribute address,
   attribute node?
 }

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

   x{jabber:x:data}*
 }
 

See Also:
Serialized Form

Constructor Summary
PubSubSubscribeQuery()
           
PubSubSubscribeQuery(java.lang.String address)
           
PubSubSubscribeQuery(java.lang.String address, java.lang.String node)
           
 
Method Summary
 java.lang.String getAddress()
           
 java.lang.String getNode()
           
 PubSubOptions getOptions()
           
 void setOptions(PubSubOptions options)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PubSubSubscribeQuery

public PubSubSubscribeQuery()

PubSubSubscribeQuery

public PubSubSubscribeQuery(java.lang.String address)

PubSubSubscribeQuery

public PubSubSubscribeQuery(java.lang.String address,
                            java.lang.String node)
Method Detail

getAddress

public java.lang.String getAddress()

getNode

public java.lang.String getNode()

getOptions

public PubSubOptions getOptions()

setOptions

public void setOptions(PubSubOptions options)

toString

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