org.jivesoftware.smackx.pubsub
Class AffiliationsExtension
java.lang.Object
org.jivesoftware.smackx.pubsub.NodeExtension
org.jivesoftware.smackx.pubsub.AffiliationsExtension
- All Implemented Interfaces:
- PacketExtension
public class AffiliationsExtension
- extends NodeExtension
Represents the affiliations element of the reply to a request for affiliations.
It is defined in the specification in section 5.7 Retrieve Affiliations.
- Author:
- Robin Collier
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
items
protected java.util.List<Affiliation> items
AffiliationsExtension
public AffiliationsExtension()
AffiliationsExtension
public AffiliationsExtension(java.util.List<Affiliation> subList)
getAffiliations
public java.util.List<Affiliation> getAffiliations()
toXML
public java.lang.String toXML()
- Description copied from interface:
PacketExtension
- Returns the XML representation of the PacketExtension.
- Specified by:
toXML
in interface PacketExtension
- Overrides:
toXML
in class NodeExtension
- Returns:
- the packet extension as XML.
Copyright © 2003-2007 Jive Software.