Package org.jivesoftware.smackx.pubsub
Class AffiliationsExtension
java.lang.Object
org.jivesoftware.smackx.pubsub.NodeExtension
org.jivesoftware.smackx.pubsub.AffiliationsExtension
- All Implemented Interfaces:
Element
,NamedElement
,XmlElement
,XmlLangElement
Represents the affiliations element of the reply to a request for affiliations.
It is defined in the specification in section 5.7 Retrieve Affiliations and
8.9 Manage Affiliations.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionAffiliationsExtension
(List<Affiliation> subList) AffiliationsExtension
(List<Affiliation> subList, String node) AffiliationsExtension
(Affiliation.AffiliationNamespace affiliationsNamespace, List<Affiliation> subList) AffiliationsExtension
(Affiliation.AffiliationNamespace affiliationsNamespace, List<Affiliation> subList, String node) -
Method Summary
Methods inherited from class org.jivesoftware.smackx.pubsub.NodeExtension
getElementName, getNamespace, getNode, getPubSubNamespace, toString, toXML
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.jivesoftware.smack.packet.XmlElement
getLanguage, getQName
-
Field Details
-
items
-
-
Constructor Details
-
AffiliationsExtension
public AffiliationsExtension() -
AffiliationsExtension
-
AffiliationsExtension
public AffiliationsExtension(Affiliation.AffiliationNamespace affiliationsNamespace, List<Affiliation> subList) -
AffiliationsExtension
-
AffiliationsExtension
public AffiliationsExtension(Affiliation.AffiliationNamespace affiliationsNamespace, List<Affiliation> subList, String node)
-
-
Method Details
-
getAffiliations
-
addXml
- Overrides:
addXml
in classNodeExtension
-