org.jivesoftware.smackx.pubsub
Class SubscriptionsElement

java.lang.Object
  extended by org.jivesoftware.smackx.pubsub.NodeExtension
      extended by org.jivesoftware.smackx.pubsub.SubscriptionsElement
All Implemented Interfaces:
org.jivesoftware.smack.packet.PacketExtension

public class SubscriptionsElement
extends NodeExtension


Constructor Summary
SubscriptionsElement()
           
SubscriptionsElement(java.util.Collection<Subscription> subList)
           
SubscriptionsElement(java.lang.String nodeId)
           
SubscriptionsElement(java.lang.String nodeId, java.util.Collection<Subscription> subList)
           
 
Method Summary
 java.util.Collection<Subscription> getSubscriptions()
           
 java.lang.String toXML()
           
 
Methods inherited from class org.jivesoftware.smackx.pubsub.NodeExtension
getElementName, getNamespace, getNode
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubscriptionsElement

public SubscriptionsElement()

SubscriptionsElement

public SubscriptionsElement(java.lang.String nodeId)

SubscriptionsElement

public SubscriptionsElement(java.util.Collection<Subscription> subList)

SubscriptionsElement

public SubscriptionsElement(java.lang.String nodeId,
                            java.util.Collection<Subscription> subList)
Method Detail

getSubscriptions

public java.util.Collection<Subscription> getSubscriptions()

toXML

public java.lang.String toXML()
Specified by:
toXML in interface org.jivesoftware.smack.packet.PacketExtension
Overrides:
toXML in class NodeExtension