|
Smack | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jivesoftware.smackx.packet.DiscoverInfo.Identity
public static class DiscoverInfo.Identity
Represents the identity of a given XMPP entity. An entity may have many identities but all the identities SHOULD have the same name.
Refer to Jabber::Registrar in order to get the official registry of values for the category and type attributes.
Constructor Summary | |
---|---|
DiscoverInfo.Identity(String category,
String name)
Creates a new identity for an XMPP entity. |
Method Summary | |
---|---|
String |
getCategory()
Returns the entity's category. |
String |
getName()
Returns the identity's name. |
String |
getType()
Returns the entity's type. |
void |
setType(String type)
Sets the entity's type. |
String |
toXML()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DiscoverInfo.Identity(String category, String name)
category
- the entity's category.name
- the entity's name.Method Detail |
---|
public String getCategory()
public String getName()
public String getType()
public void setType(String type)
type
- the identity's type.public String toXML()
|
Smack | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |