com.caucho.xmpp.pubsub
Class PubSubUnsubscribeQuery

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

public class PubSubUnsubscribeQuery
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 unsubscribe {
   attribute address,
   attribute node?
   attribute subid?
 }
 

See Also:
Serialized Form

Constructor Summary
PubSubUnsubscribeQuery()
           
PubSubUnsubscribeQuery(java.lang.String address)
           
PubSubUnsubscribeQuery(java.lang.String address, java.lang.String node, java.lang.String subid)
           
 
Method Summary
 java.lang.String getAddress()
           
 java.lang.String getNode()
           
 java.lang.String getSubid()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PubSubUnsubscribeQuery

public PubSubUnsubscribeQuery()

PubSubUnsubscribeQuery

public PubSubUnsubscribeQuery(java.lang.String address)

PubSubUnsubscribeQuery

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

getAddress

public java.lang.String getAddress()

getNode

public java.lang.String getNode()

getSubid

public java.lang.String getSubid()

toString

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