|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sip.communicator.impl.protocol.jabber.extensions.AbstractPacketExtension
net.java.sip.communicator.impl.protocol.jabber.extensions.coin.UserRolesPacketExtension
public class UserRolesPacketExtension
User roles packet extension.
| Field Summary | |
|---|---|
static String |
ELEMENT_NAME
The name of the element that contains the user roles data. |
static String |
ELEMENT_ROLE
Subject element name. |
static String |
NAMESPACE
The namespace that user roles belongs to. |
| Fields inherited from class net.java.sip.communicator.impl.protocol.jabber.extensions.AbstractPacketExtension |
|---|
attributes |
| Constructor Summary | |
|---|---|
UserRolesPacketExtension()
Constructor. |
|
| Method Summary | |
|---|---|
void |
addRoles(String role)
Add roles. |
List<String> |
getRoles()
Get list of roles. |
String |
toXML()
Returns an XML representation of this extension. |
| Methods inherited from class net.java.sip.communicator.impl.protocol.jabber.extensions.AbstractPacketExtension |
|---|
addChildExtension, getAttribute, getAttributeAsInt, getAttributeAsInt, getAttributeAsString, getAttributeAsURI, getAttributeNames, getChildExtensions, getChildExtensionsOfType, getElementName, getFirstChildOfType, getNamespace, getText, removeAttribute, setAttribute, setNamespace, setText |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String NAMESPACE
public static final String ELEMENT_NAME
public static final String ELEMENT_ROLE
| Constructor Detail |
|---|
public UserRolesPacketExtension()
| Method Detail |
|---|
public void addRoles(String role)
role - role to addpublic List<String> getRoles()
public String toXML()
toXML in interface org.jivesoftware.smack.packet.PacketExtensiontoXML in class AbstractPacketExtension
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||