org.jivesoftware.smackx.pubsub
Class AffiliationsElement

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

public class AffiliationsElement
extends NodeExtension


Constructor Summary
AffiliationsElement()
           
AffiliationsElement(java.util.Collection<Affiliation> subList)
           
 
Method Summary
 java.util.Collection<Affiliation> getAffiliations()
           
 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

AffiliationsElement

public AffiliationsElement()

AffiliationsElement

public AffiliationsElement(java.util.Collection<Affiliation> subList)
Method Detail

getAffiliations

public java.util.Collection<Affiliation> getAffiliations()

toXML

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