org.jivesoftware.smackx.packet
Class SharedGroupsInfo
java.lang.Object
org.jivesoftware.smack.packet.Packet
org.jivesoftware.smack.packet.IQ
org.jivesoftware.smackx.packet.SharedGroupsInfo
public class SharedGroupsInfo
- extends IQ
IQ packet used for discovering the user's shared groups and for getting the answer back
from the server.
Important note: This functionality is not part of the XMPP spec and it will only work
with Wildfire.
- Author:
- Gaston Dombiak
Nested classes/interfaces inherited from class org.jivesoftware.smack.packet.IQ |
IQ.Type |
Method Summary |
java.lang.String |
getChildElementXML()
Returns the sub-element XML section of the IQ packet, or null if there
isn't one. |
java.util.List<java.lang.String> |
getGroups()
Returns a collection with the shared group names returned from the server. |
Methods inherited from class org.jivesoftware.smack.packet.Packet |
addExtension, addExtensions, deleteProperty, equals, getDefaultLanguage, getError, getExtension, getExtension, getExtensions, getExtensionsXML, getFrom, getPacketID, getProperty, getPropertyNames, getTo, getXmlns, hashCode, nextID, removeExtension, setDefaultXmlns, setError, setFrom, setPacketID, setProperty, setTo |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
SharedGroupsInfo
public SharedGroupsInfo()
getGroups
public java.util.List<java.lang.String> getGroups()
- Returns a collection with the shared group names returned from the server.
- Returns:
- collection with the shared group names returned from the server.
getChildElementXML
public java.lang.String getChildElementXML()
- Description copied from class:
IQ
- Returns the sub-element XML section of the IQ packet, or null if there
isn't one. Packet extensions must be included, if any are defined.
Extensions of this class must override this method.
- Specified by:
getChildElementXML
in class IQ
- Returns:
- the child element section of the IQ XML.
Copyright © 2003-2007 Jive Software.