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
items
protected List<Affiliation> items
AffiliationsExtension
public AffiliationsExtension()
AffiliationsExtension
public AffiliationsExtension(List<Affiliation> subList)
getAffiliations
public List<Affiliation> getAffiliations()
toXML
public 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.